Command for installing Angular CLI
npm install -g @angular/cli
If you find Error :
npm ERR! **Unexpected end of JSON input while parsing near '...nt-webpack-plugin":"0'**
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user_name\AppData\Roaming\npm-cache\_logs\2017-12-06T13_10_10_729Z-debug.log
then
Open Windows Powershell as admin
npm cache clean --force
npm install -g @angular/cli
No comments:
Post a Comment