The term 'ng' is not recognized as the name of a cmdlet

后端 未结 30 955
灰色年华
灰色年华 2020-12-01 00:24

Today, while working through some basic AngularJS Intro, I ran into a problem.

I opened PowerShell to get going on the project. NPM worked.

I was able to in

30条回答
  •  情深已故
    2020-12-01 01:05

    You just need to close the visual studio code and restart again. But to get the ng command work in vs code, you need to first compile the project with cmd in administrator mode.

    I was also facing the same problem. But this method resolved it.

提交回复
热议问题