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 until Bower/npm packages finish restoring.
I see that a background task is running, but this goes on for ever and doesn't make any progress.
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 had a sort-a-like problem. This is what i did to solve it:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With