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/cli@latest
  6. Install Particular Angular Version CLI Globally:npm install -g @angular/cli@7.1.0
  7. Install Angular CLI Locally: npm install –save-dev @angular/cli@latest
  8. Install Particular Angular Version CLI Locally: npm install –save-dev @angular/cli@7.1.0
  9. Install Angular CLI Locally: npm install @angular/cli@7.1.0

Add Comment