I\'m getting this error after upgrading to angular 9. I\'m using visual studio 2019, ASP .NET core with angular. Even if I create new project and update angular to 9 version
If you are doing backend work only, in your startup.cs comment out
spa.UseAngularCliServer(npmScript: "start");
and add
spa.UseProxyToSpaDevelopmentServer("http://localhost:4200");
Like so...
//spa.UseAngularCliServer(npmScript: "start");
spa.UseProxyToSpaDevelopmentServer("http://localhost:4200");//Todo Switch back for SPA Dev
Run the SPA from cmd (in ClientApp Directory) via npm start.
Then when your run or debug your full app from Visual Studio, it will spin up so much faster.