I get this error:Cannot find module '@angular-devkit/build-angular/package.json when I try run my app with ng serve from Linux

前端 未结 10 2824
逝去的感伤
逝去的感伤 2021-02-19 13:30

hello guys I have this next error when I try run my App from the terminal(linux), when I run this command:

ng serve

and I get this

10条回答
  •  滥情空心
    2021-02-19 14:10

    Please try installing the npm on a project folder. I had installed npm globally but installing the npm once again on a solution folder fixed my issue.

    npm install in the project folder will do the trick. Then do ng serve -o

提交回复
热议问题