-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to update from 13.1.0 to the latest point release #22565
Comments
Duplicate of #21204 |
@alan-agius4 In that closed issue there is a workaround to use -force, which I did and that just caused more issues. That leaves me with |
Yes, that is right |
I am having the same issue even updating minor angular 12 versions with same version of node and npm. Are we expected to use the force flag every time we upgrade angular? It seems like there should be a better solution. It's not a very good user experience to upgrade and then see an error message and have your entire node_modules folder deleted and have to back out and start over. |
@vanessag, unfortunately the error is from NPM 7+ and due to a bug in their peer dependency resolution logic. See npm/cli#3666 for more context. In case you are experiencing the error and want to use NPM 7+, the |
@alan-agius4 Thank you for the explanation. I will follow that thread and hopefully npm will have a fix for it at some point. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
no
Description
running ng update or ng update @angular/cli@^13 @angular/core@^13 results in a failure
🔬 Minimal Reproduction
see above
🔥 Exception or Error
🌍 Your Environment
node version 16.13.1
npm version 8.1.2
mac os 10.15.7
The text was updated successfully, but these errors were encountered: