3

Angular CLI - request deprecated error (Solution)

 2 years ago
source link: https://dev.to/ashadnasim52/angular-cli-request-deprecated-error-solution-1oam
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Angular CLI - request deprecated error (Solution)

Aug 3

・1 min read

Try this below command

$ npm cache verify

$ npm cache clean --force
Enter fullscreen modeExit 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 modeExit fullscreen mode

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

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

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK