In VS 2017, I created a new ASP.NET Core Web Application using the Angular template.
The project however does not run, it gets stuck on:
Build delayed un
For react project I solved it using these steps.
1) right click on the project and select >build
2) Then in output box showing "Build delayed until Bower/npm packages finish restoring."
3) Wait few minutes.After building the project you can see
Build delayed until Bower/npm packages finish restoring. 1>------ Build started: Project: chatApplication, Configuration: Debug Any CPU ------ 1>chatApplication -> D:\IdeaProjects\chatApplication\chatApplication\bin\Debug\netcoreapp2.1\chatApplication.dll 1>chatApplication -> D:\IdeaProjects\chatApplication\chatApplication\bin\Debug\netcoreapp2.1\chatApplication.Views.dll ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
I had some problem in visual stduio 2019 aspnet core & angular project.
I have solved it using this way.
Manually run npm install via cmd,
And if after run project via visual studio 2019, Project run successfuly. (Without “Build delayed until Bower/npm packages finish restoring.”)
This way worked for me
I had a similar problem and I followed the below steps to get around it.
Disable Package restore:
After disabling, I opened a terminal and manually installed all the packages. I used Yarn to install the packages and faced no problems.
Visual Studio often halts during project builds because of timeouts. To get around that, I used the command yarn --network-timeout 60000
.
Hope this helps!
I was able to workaround my indefinite “Build delayed until Bower/npm packages finish restoring.” publishing delay in VS.NET 2019 Community Edition by:
In my case, it looks like it was the lack of Administrative privileges that caused the infinite delay.
i had a sort-a-like problem. This is what i did to solve it: