user3623380
user3623380

Reputation: 11

Problem to install a older version of angular cli

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?

Upvotes: -2

Views: 1198

Answers (1)

Philipp Meissner
Philipp Meissner

Reputation: 5482

You're spelling the npm package incorrectly.

npm install -g @angular/[email protected]

Note the @ in the front.

Upvotes: 1

Related Questions