-2

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

npm install -g angular-cli@8.3.23

This error appears:

npm ERR! code ETARGET npm ERR! notarget No matching version found for angular-cli@8.3.23. 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 Answers1

0

You're spelling the npm package incorrectly.

npm install -g @angular/cli@8.3.23

Note the @ in the front.

Philipp Meissner
  • 5,273
  • 5
  • 34
  • 59