- Unstall Node.js from the control panel
- Go to your Roaming folder C:\Users\asish\AppData\Roaming and delete manually delete npm and npm-cache folders.
- Install latest Node.Js from the offlicial website https://nodejs.org/en/
- Go to your command prompt and install NPM by executing
npm i -g npm
- Install Angular CLI Globally:npm install -g @angular/[email protected]
- Install Angular CLI Locally: npm install –save-dev @angular/[email protected]