Resolving Angular Versions Conflict

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

Add Comment