question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QuickApp Total Pack][ASP.NET 3.0] Microsoft.AspNetCore.SpaServices Error/Fail

See original GitHub issue

1 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:open
  • Created 4 years ago
  • Reactions:3
  • Comments:7

github_iconTop GitHub Comments

8reactions
JernejHabjancommented, Jan 24, 2020

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. image After turning it to true, it starts showing errors in console: image

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?

1reaction
lackoviccommented, May 16, 2020

I had the same problem, when running dotnet run I got lots of errors like the followings:

fail: Microsoft.AspNetCore.SpaServices[0]
      Compiling @angular/core : module as esm5
...
fail: Microsoft.AspNetCore.SpaServices[0]
      <s> [webpack.Progress] 10% building 1/1 modules 0 active

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, from angular.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.

$ npm --version
6.14.4
$ node --version
v14.2.0
dotnet --info
Version:   3.1.202
Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found