Problem to install a older version of angular cli

1k views Asked by At

I need to install a older version of angular cli. When I use:

npm install -g [email protected]

This error appears:

npm ERR! code ETARGET npm ERR! notarget No matching version found for [email protected]. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.

My old node version is v12.14.1

What I can do to install this version of angular-cli?

1

There are 1 answers

4
Philipp Meissner On

You're spelling the npm package incorrectly.

npm install -g @angular/[email protected]

Note the @ in the front.