Home > front end >  why is npm install -g @angular/cli not working?
why is npm install -g @angular/cli not working?

Time:12-07

Trying to install angular/cli in cmd, node.js verson 8.1.2

CodePudding user response:

You need to define the Nodejs "PATH" variable. You can see how it should look in the picture.

enter image description here

If you open the "CMD" window again later, you can successfully complete the installation process.

  • Related