Angular CLI – request deprecated error (Solution)

Try this below command

$ npm cache verify

$ npm cache clean –force

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

an…


This content originally appeared on DEV Community and was authored by ashad nasim

Try this below command

$ npm cache verify

$ npm cache clean --force

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

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

$ ng config -g cli.packageManager yarn


This content originally appeared on DEV Community and was authored by ashad nasim


Print Share Comment Cite Upload Translate Updates
APA

ashad nasim | Sciencx (2021-08-03T17:56:50+00:00) Angular CLI – request deprecated error (Solution). Retrieved from https://www.scien.cx/2021/08/03/angular-cli-request-deprecated-error-solution/

MLA
" » Angular CLI – request deprecated error (Solution)." ashad nasim | Sciencx - Tuesday August 3, 2021, https://www.scien.cx/2021/08/03/angular-cli-request-deprecated-error-solution/
HARVARD
ashad nasim | Sciencx Tuesday August 3, 2021 » Angular CLI – request deprecated error (Solution)., viewed ,<https://www.scien.cx/2021/08/03/angular-cli-request-deprecated-error-solution/>
VANCOUVER
ashad nasim | Sciencx - » Angular CLI – request deprecated error (Solution). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/08/03/angular-cli-request-deprecated-error-solution/
CHICAGO
" » Angular CLI – request deprecated error (Solution)." ashad nasim | Sciencx - Accessed . https://www.scien.cx/2021/08/03/angular-cli-request-deprecated-error-solution/
IEEE
" » Angular CLI – request deprecated error (Solution)." ashad nasim | Sciencx [Online]. Available: https://www.scien.cx/2021/08/03/angular-cli-request-deprecated-error-solution/. [Accessed: ]
rf:citation
» Angular CLI – request deprecated error (Solution) | ashad nasim | Sciencx | https://www.scien.cx/2021/08/03/angular-cli-request-deprecated-error-solution/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.