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

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

    The problem is NOT the install of the NPM nor the path ! If you want to use the "ng" command you need to install the angular-cli. by running the following command

    npm install -g @angular/cli
    

    https://cli.angular.io/

提交回复
热议问题