-
Notifications
You must be signed in to change notification settings - Fork 13
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
What to do when my project uses ember-modifier@v4 #143
Comments
@NullVoxPopuli Thanks for using My understanding was that, with (For this addon's I had tested I'll need some time to figure out the right solution. I'll keep an eye out for what other addons that depend on |
Related issue in |
I'm not using any resolutions atm in limber -- but i did tell pnpm to not log the error about me having ember-modifier at a newer version. I could probably remove that now that i've patched container query. Good eye! Yarn1 is inherently flawed for basically everything and i can't trust that it's resolving things correctly. |
Oh. I did a superficial review of your pull request, and might have misunderstood how resolutions work in pnpm (guess the term is called "overrides" in pnpm). From the following line, I thought that you had installed just one version of |
Oh! No, I'm a space cadet and will remove that! |
Done here: NullVoxPopuli/limber#623 it works about the same -- because the error was reported from ember-cli-dependency-checker (or whatever it's called), and pnpm only organizes the deps correctly (compared to yarn) |
To recap, my current suggestion to the users is to allow multiple versions of /* config/dependency-lint.js */
module.exports = {
allowedVersions: {
'ember-modifier': '4.0.0 || 3.2.7',
},
}; Once |
seems like a reasonable work around for now -- esp if folks have big apps where a duplicate dependency shipped to their users doesn't impact them much. nice! |
End-developers who would like to use |
Describe the bug 🐞
When using ember-modifier v4 and ember-container-query v3, I get the following error during build time:
I saw that in the package.json, that ember-auto-import is not a dependency.
Maybe we can group a few things together:
Things we need
Expected behavior 🤔
To be able to boot my app.
Minimal reproduction 🔬
Describe steps to reproduce the behavior:
NullVoxPopuli/limber#621
Environment 🌍
The text was updated successfully, but these errors were encountered: