-
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
ng update
doesn't work every single time
#15296
Comments
I see this message all the time, and I get Semantic versioning would seem to dictate that 0.10.2 is simply a better version of 0.9.1. So it leaves me confused that angular would complain about this. Is there something about @angular/core that is depending on a bug or implementation quirk of this older version so that it would not be able to run on the newer version? |
There are special semantic versioning rules for a version that has a |
Thanks @clydin Seems silly to have the semantic versioning lose it's meaning sometimes, but whatever, not my baby. Anyway, you got any insight on why Angular can't work with Typescript 3.6.3, but works fine with 3.5.3? |
TypeScript doesn't strictly follow semantic versioning. Breaking changes can occur in minor versions. This is especially relevant to Angular because it uses many of the TypeScript compiler APIs within the Angular AOT compiler. |
Seems like we should just repackage Typescript and other offending packages like zone.js into ones in which the semver is restored (zone.js has been around for 6 years, it's time for it to outgrow the leading 0). Then we can get back to I'm running through an update right now and Anyway, for me, this worked for the main situation: just use the |
I faced the same issue. |
Any update on this? I get the same issue upgrade angular8 to angular9. |
this is the most hilariously awful issue i think ive come across. there has not been a single time i've tried to update my angular version without running into this same stupid issue. how is it that @angular/http is NEVER compatible with the latest versions of angular? how could it already be up to date if angular core is 1, 2, 3, 1827 versions ahead? At this point i have to just assume this is a game to whoever tf is behind this process because it's an absolute JOKE. Stop releasing a new version of your framework every 3 weeks and fix your update process. |
@rrrroooorrrr, it’s looks like your application still depends on |
@alan-agius4 thank you for your help. i can admit i might be at fault for that one, but this process has rubbed me the wrong way too many times. |
Closing as this should no longer be an issue. |
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?
Yes, the previous version in which this bug was not present was: ....Actually this command never worked.
Description
A clear and concise description of the problem...ng update
cannot handle incompatible peer dependency.🔬 Minimal Reproduction
Whenever you what to update your Angular packages, run
ng update --all
Update a single package also has problem:
This problem has been here for years:
#15278 #14980 #15179 #13095 #14581 #15193 #12261 #12243 #11387 #10875 #14420 #14764 #14650 #14562 #14561 #14546 #14310 #11876 #10621 #7625 #13126 #13139
And there are more.
The text was updated successfully, but these errors were encountered: