DEV Community

ashad nasim
ashad nasim

Posted on

Angular CLI - request deprecated error (Solution)

Try this below command

$ npm cache verify

$ npm cache clean --force
Enter fullscreen mode Exit fullscreen mode

and then try again to install the angular CLI

If you still get the error then install yarn package manager.

Install yarn by running this

$  npm install -g yarn
Enter fullscreen mode Exit fullscreen mode

and then configure angular cli to use yarn package manager, by running this command

$ ng config -g cli.packageManager yarn
Enter fullscreen mode Exit fullscreen mode

Top comments (0)