-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsarea-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworkIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Milestone
Description
When building a fresh copy of the repo, I get errors about the Debug builds of the blazor.web.js
file not being found because I have not run npm ci && npm run build
on the repo. The message indicates that the check-in copy of the file will be used as a fallback.
/Users/captainsafia/git/aspnetcore/57112/src/Components/Endpoints/src/Microsoft.AspNetCore.Components.Endpoints.csproj(72,5): error : '../../Web.JS/dist/Debug/blazor.web.js' does not exist. Falling back to checked-in copy.
Because of our warn-as-errors configuration, this warning manifests as an error that breaks the build.
Can we add an exemption for this error to avoid erroneously warning on projects that don't need debug builds of blazor.web.js?
cc: @javiercn @wtgodbe since I'm not sure what the current status of the compiled JS scripts is
martincostello
Metadata
Metadata
Assignees
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsarea-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworkIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework