Troubleshooting installation of the CLI or setup of a new Angular project - aakash14goplani/FullStack GitHub Wiki
A lot of problems are solved by making sure you're using the latest version of NodeJS, npm and the CLI itself.
Updating NodeJS: wget https://nodejs.org/download/release/latest/win-x64/node.exe -OutFile 'C:\Program Files (x86)\nodejs\node.exe'
. Make sure wget.exe
is placed under C:\Windows\System32
folder
Updating npm: npm install -g npm@latest
Installing Typescript npm install -g typescript@latest
Updating the CLI:
npm uninstall -g angular-cli @angular/cli
npm cache clean
npm install -g @angular/cli
Installing dependencies
bootstrap - npm install --save bootstrap@3