-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Module not found: Error: ember-tooltips is trying to import the app's @ember/string package, but it seems to be missing #447
Comments
Additionally packages using If all 3 of those conditions are met, then the What packages, in particular are you noticing having issues? |
sure, but why does updating the package in the app break the build for the addons that use the previous version? |
I'd wager it's a compatibility mistake, due to the old way of doing things in broccoli land (or it's just a problem that's always been there, and is just now manifesting)
Once all dependencies are v2 addons, the problem will cease to exist (which might be a while from now at the rate I'm going 😅 ) I would experiment with pnpm's packageExtensions config to add Library-wise, what I think folks should do, is set their |
I'm hitting this upgrading to This is the stack trace:
|
Looks like |
Its more likely an outdated version of |
It is indeed 4.12.8 of It is fine that I cannot upgrade this package but I wonder if we could make the errors more helpful somehow? |
on ember 6.1.0 + @ember/[email protected] i had the issue with ember-changeset-validations, |
Alternatively, those dependencies could declare ember-string in their deps. Can you open issues on those repos? Thanks! |
Thanks for the suggestion , i have opened the issue on ember-changeset-validations#366 and ember-tooltips#461 |
Updating a project from v5.10 -> v5.12 via ember-cli-update brings @ember/string v4 in the blueprint. The project is on embroider, I get several errors:
This is really a terrible upgrade experience. I can either try to go and update many outdated addons or I need to use something like patching the package to try to get everything onto @ember/string@4? |
I think projects who are relying on v1 addons to have implicit imports resolve to real packages should probably stay on
This is just a fact of how bad our v1 addons were. Too many assumptions 😬 |
Still a bad upgrade experience with the update to @ember/string coming from the CLI blueprint |
Sure, if only we could have the blueprint have more frequent breaking-just-in-case releases 🤔 |
I am not sure what this means. |
If we try to keep the blueprint perfectly non-breaking for existing users, we can't make progress for new users. Every time we add an addon at some version, it has the potential to break someone's build when they're relying on an old version. This would make upgrading between majors in the blueprints' package.json impossible, if we were to be that strict... and being that strict keeps the blueprint behind what we actually want folks to be doing in new projects. It's more motivation, for @mansona's blueprint work, and, imo, a good argument for getting the blueprints out of ember-cli (even though @ef4 argues that it makes testing compatibility harder) |
In rust-lang/crates.io#9011 I'm trying to update
@ember/string
to the v4 release, but apparently that is causing the build to fail, claiming that the package is missing.It looks like every single dependency in the ecosystem that is relying on
@ember/string
now needs to publish a breaking change release to update their dependencies, or am I missing something?The text was updated successfully, but these errors were encountered: