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

后端 未结 30 1052
灰色年华
灰色年华 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:16

    Open Edit the system environment variables

    In the "Path" and "PS Module Path" variable add "%AppData%\npm"

    Run Visual Code as Administrator

    It works for me!

提交回复
热议问题