Steps to downgrade Angular 7 to Angular 6


(Ganesh Arun Markandey) #1

Hi All,

I need procedure (Steps) for downgrade from Angular 7 version to Angular 6 version.

I have tried with below steps:
Step1: npm uninstall -g @angular/cli
Step2: npm cache clean --force
Step3: npm install -g @angular/cli@6.1.3 (*I want to downgrade to version 6.1.3)
But, still I can see angular 7 version in CLI, In Package.json etc.

Could you please help.

Thanks in advance,
Ganesh


(John Gee) #2

These questions are focused on the CLI.

Where are your npm global installs going?

npm prefix --global

Where is your active version of ng installed?

command -v ng

After you uninstall angular, start a new shell and is the ng command missing?

ng --version
command -v ng

(system) closed #3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.