-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
1.55.1 Community release has inversify runtime errors #14652
Comments
This issue reveals a general problem we have in that we can't prevent adopters from picking up updates to dependencies that fit our version expressions. Another instance of this problem is #14586. |
I generally agree with @tsmaeder that preventing this kind of breakage entirely is not feasible, and we should focus on documenting and communicating such occurrences effectively. That said, if a fix for an ongoing issue is available, I believe there’s a strong case for backporting it to the latest community release to enhance the adopter experience as long as the effort required is reasonable. Let’s include this in the agenda for the next dev meeting to discuss further. |
I have just come across the same issue after having to recreate the *.lock file. I have fixed it with Currently, theia relies "too much" on the idea that breaking changes are only introduced with mayor versions, so the dependencies in package.json's are usually declared with a caret (^). But this is not always the case. I think it would be a good idea to pin a specific version of inversify in the dependencies of theia/core. So |
@dmm9 the trouble is that we'd have to manually update the versions if we fix them. And the problem is not solved for dependencies that themselves attract modules via a lenient expression. |
Bug Description:
Theia products using the current community release (1.55.1) fail to start due to an inversify error.
This is caused by a breaking change introduced with inversify
6.1.x
.For Theia
>= 1.56
this is fixed with #14435.This change should probably be backported to ensure that the community release is working.
Currently adopters need to manually lock the version via resolutions as a workaround.
Steps to Reproduce:
1.55.1
yarn && yarn build:browser
yarn start:browser
Additional Information
@jfaltermeier @sgraband FYI
The text was updated successfully, but these errors were encountered: