Project build halts on: “Build delayed until Bower/npm packages finish restoring.”

前端 未结 5 1531
忘掉有多难
忘掉有多难 2021-02-12 12:26

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         


        
5条回答
  •  误落风尘
    2021-02-12 13:13

    i had a sort-a-like problem. This is what i did to solve it:

    1. check the folder node_modules
    2. on my pc it was empty
    3. open the folder in a command prompt (with administrator privileges)
    4. run "npm install", this will download all referenced node modules (see package.json) to your pc
    5. then when you build in VS Studio,the bower delay is gone

提交回复
热议问题