You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ng update tries to modify my system without my consent and against my will, fails, then crashes.
🔬 Minimal Reproduction
ng update
🔥 Exception or Error
The installed Angular CLI version is older than the latest published version.
Installing a temporary version to perform the update.
Installing packages for tooling via yarn.
error Cannot create "/usr/local/bin/ng" due to insufficient permissions.
An unhandled exception occurred: Package install failed, see above.
See "/tmp/ng-8M0LvS/angular-errors.log" for further details.
This should be fixed in the next release via #16011. As now we now longer create binary links.
Note: before running ng update run npm i @angular/cli@latest —no-save as otherwise the old version of the cli bootstrapping will be used which will cause the permission errors.
Uh oh!
There was an error while loading. Please reload this page.
🐞 Bug report
Command (mark with an
x
)Is this a regression?
YesDescription
ng update
tries to modify my system without my consent and against my will, fails, then crashes.🔬 Minimal Reproduction
ng update
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
I just want to point out that it is extremely bad etiquette to make undesired modifications to people's system.
Duplicate of #16010
The text was updated successfully, but these errors were encountered: