-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
V1Addon with [email protected] does not work with App with [email protected] #431
Comments
specifically, I think this works with app with [email protected], but not with app with [email protected] |
I'll try 3.25.3 before attempting a PR |
I have the same problem on 3.25.3 |
I don't understand the thing being reported here, can you be more specific? Have a reproduction? |
FWIW, we do use whatever the project has (ember-source wise) |
trying to get debug-info atm -- giving up on vscode on this machine 🙃 |
The surface issue I'm trying to address is this error:
|
ok, so after a bunch of debugging, I've determined that in booting my app,
Odbservations:
Observations
|
can you make a repro? would it be a monorepo with two ember-source versions? |
Seems related to: emberjs/ember.js#19700
yup, can do! 🎉 |
turns out, it's not so easy! |
ooo, I did it. link here: https://github.com/NullVoxPopuli/repro-ember-pre-and-post-3-27-compat @rwjblue ^ |
I just discover this issue, exact same for me, not working when my addon is linked (via yarn), but it works when referring the published addon. |
I'm facing this issue too, here's a repro https://github.com/prysmex/ember-eui/tree/update-3.24.0
If you downgrade |
I think it's because addons are resolving their capabilities local to them rather than the host app.
because
setComponentTemplate
(used in the output of co-located components), is referenced asEmber._setComponentTemplate
in the app, and in the addon, referenced as:_component.setComponentTemplate
(an import from the module (and real modules don't exist until [email protected])).shouldn't ember-cli-babel ignore whatever is going on in the addon, and determine ember-source version from the host app?
The text was updated successfully, but these errors were encountered: