I’m encountering an issue while trying to update Angular CLI and its core packages:
Package not installed: "@angular/core". Skipping.
Error: Command failed: npm get //registry.npmjs.org/:username
npm error The //registry.npmjs.org/:username option is protected, and can not be retrieved in this way
I have tried the following steps to resolve the issue:
Cleaned npm cache with npm cache clean –force.
Updated npm to the latest version with npm install -g npm@latest.
Despite these steps, the issue persists. Any suggestions on how to resolve this error?
Thank you.
I want to upgrade my angular 7 project to angular 8
New contributor
Zeynep Ozen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.