[QuickApp Total Pack][ASP.NET 3.0] Microsoft.AspNetCore.SpaServices Error/Fail
See original GitHub issue1 dotnet restore
in root directory
2 npm install
in ClientApp directory
3 File -> Open -> Project/Solution
with Visual Studio 2019
4 Run it with IIS Express
In logs appear this error:
Microsoft.AspNetCore.SpaServices: Error: <s> [webpack.Progress] 0% compiling
Microsoft.AspNetCore.SpaServices: Error: <s> [webpack.Progress] 10% building 0/0 modules 0 active
Microsoft.AspNetCore.SpaServices: Error: <s> [webpack.Progress] 10% building 0/1 modules 1 active multi C:\Users\Utente\workALC\ExperimentalProjects\QuickApp.Pro\QuickApp\ClientApp\node_modules\webpack-dev-server\client\index.js?http://0.0.0.0:0/sockjs-node&sockPath=/sockjs-node C:\Users\Utente\workALC\ExperimentalProjects\QuickApp.Pro\QuickApp\ClientApp\src\main.ts
Microsoft.AspNetCore.SpaServices: Error: <s> [webpack.Progress] 10% building 1/1 modules 0 active
Microsoft.AspNetCore.SpaServices: Error: <s> [webpack.Progress] 10% building 1/1 modules 0 active
Microsoft.AspNetCore.SpaServices: Error: <s> [webpack.Progress] 10% building 1/2 modules 1 active multi C:\Users\Utente\workALC\ExperimentalProjects\QuickApp.Pro\QuickApp\ClientApp\src\polyfills.ts C:\Users\Utente\workALC\ExperimentalProjects\QuickApp.Pro\QuickApp\ClientApp\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models\jit-polyfills.js
Microsoft.AspNetCore.SpaServices: Error: <s> [webpack.Progress] 10% building 2/2 modules 0 active
<s> [webpack.Progress] 10% building 2/2 modules 0 active
<s> [webpack.Progress] 10% building 2/3 modules 1 active multi C:\Users\Utente\workALC\ExperimentalProjects\QuickApp.Pro\QuickApp\ClientApp\src\styles.scss
<s> [webpack.Progress] 10% building 3/3 modules 0 active
<s> [webpack.Progress] 10% building 3/4 modules 1 active C:\Users\Utente\workALC\ExperimentalProjects\QuickApp.Pro\QuickApp\ClientApp\node_modules\webpack-dev-server\client\index.js?http://0.0.0.0:0/sockjs-node&sockPath=/sockjs-node
Microsoft.AspNetCore.SpaServices: Error: <s> [webpack.Progress] 10% building 4/4 modules 0 active
And it continue until 100% building …
Microsoft.AspNetCore.SpaServices: Error: <s> [webpack.Progress] 94% after asset optimization
<s> [webpack.Progress] 94% after seal
<s> [webpack.Progress] 94% after seal SuppressExtractedTextChunks
<s> [webpack.Progress] 95% emitting
<s> [webpack.Progress] 95% emitting CopyPlugin
<s> [webpack.Progress] 95% emitting index-html-webpack-plugin
Microsoft.AspNetCore.SpaServices: Error: <s> [webpack.Progress] 98% after emitting
Microsoft.AspNetCore.SpaServices: Error: <s> [webpack.Progress] 98% after emitting CopyPlugin
The application seems to works fine. Same issue with the Pro version also.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:7
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Update - I think this is normal behavior, as it is reported also by generic angular project, generated with dotnet CLI
dotnet new angular -o my-new-app
In angular.json file, property progress exists, which is turned to false in my-new-app. After turning it to true, it starts showing errors in console:So I think this is normal behavior. If it bothers you, you can set it to false, and errors wont be shown. Can anyone confirm if this is correct?
I had the same problem, when running
dotnet run
I got lots of errors like the followings:Despite the errors everything worked fine when running the web app.
ng serve
did not show any error.The errors disappeared after removing
"progress": true,
fromangular.json
like suggested by @JernejHabjan.I don’t think this behavior is “normal”: the word FAIL seems to indicates something is wrong on the .NET Core side.