Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular downgrade from version 5 to 4

i want to create angular 4 project instead of 5. my angular cli version 1.5.0 when i run this command to downgrade the version to angular cli 4

npm install -g [email protected]

I get the error

npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected]
like image 589
Manspof Avatar asked Nov 08 '17 17:11

Manspof


1 Answers

If you want to install this specific version of the angular cli you have to use this command:

npm install -g @angular/[email protected]

Perhaps you have another version currently installed on your system you should read this also.

like image 156
zgue Avatar answered Oct 26 '22 06:10

zgue