0

I'm trying to install angular4 so I installed Node v8.11.3, their version of npm is 5.5.1. I typed npm install –g @angular/cli, when trying ng, an error says ng is not recognized as an internal command. I see the folder C:\Users\user-\AppData it seems empty.

How can I solve this issue in order to install angular 4 environment correctly?

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
presta dev
  • 19
  • 2
  • 11

1 Answers1

-1

ng is not recognized as an internal command error means your node and npm are not installed correctly.

Try reinstall node and npm.

Nitin Bisht
  • 5,053
  • 4
  • 14
  • 26
PENG ZHU
  • 275
  • 2
  • 6
  • Why? You can have node and npm, and even the project installed correctly, and still have ng not recognized. – Zlatko Jul 25 '18 at 06:57