-
Notifications
You must be signed in to change notification settings - Fork 28
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
Update "temporary" stop-gap for supporting nested addons #93
Conversation
When upgrading to 2.7.0, I'm seeing the "sourcemaps not defined" issue again. It seems that the previous stopgap wasn't as future-proof as we'd like it to be. :) I've switched from duck-typing against `app.import` to `app.options`, since that's the accessor that fails every time this bug resurfaces.
@seanjohnson08 can you confirm that this works pre 2.7.0? |
how does this deal with dupes of deps across nested addons? |
In regards to @asakusuma 's question, this was not entirely working before. We started experiencing this issue with I'm now experiencing the issue again in an addon that uses |
@stefanpenner can confirm that @seanjohnson08 's fix solved the error in my situation |
This wasn't actually my question, this appears to be adding a new feature. One that opens the door to a currently unaddressed problem, which is how does one deal with duplicate dependencies from discrete add-ons. I don't believe we can accept this feature without an answer to ^. @cklimkowsky if there was a regression in ember-cli 2.6.3, we should investigate it, and come up with a solution that doesn't require this new feature. Do you have a reproduction of this described failure? |
@stefanpenner I was just providing additional context. When you say a reproduction, do you mean with |
@cklimkowsky awesome, the context is much appreciated!
Yes, a reproduction for the 2.6.3 regression would be great, do you mind opening a new issue (on this repo) describing the symptoms? That way we can track the two issues independently. |
@cklimkowsky im also unsure if 2.6.2 and 2.6.3 resulted in any breaking changes: diff -> ember-cli/ember-cli@v2.6.2...v2.6.3 Maybe its a different dependency? |
@stefanpenner hm, I just tried reproducing the 2.6.3 issue and I unfortunately can't 😕 |
@seanjohnson08 are you trying to upgrade to ember-cli 2.7 or ember 2.7? cc @tjni |
@asakusuma @stefanpenner I've also run into this issue when bumping ember-cli to 2.7. No issues on 2.6.3. |
@derrickshowers can you share a reproduction, would love to dig in. |
@seanjohnson08 Have you had any luck (or know of a way) reproducing this on a fresh ember-cli app? Tried including ember-browserify as a dependency and a downstream dependency, but can't get to reproduce the error. In the app I'm working with, it's reproducible every time I upgrade ember-cli to 2.7.0. 🤔 |
Guess I'll jump on the wagon. I'm getting this error after updating ember-cli to 2.7.0 and running |
100% of this thread is LinkedIn people. We know that this is completely broken. We'll have a story for this at some point next week. |
will be superseded by #100 |
When upgrading to 2.7.0, I'm seeing the "sourcemaps not defined" issue again. It seems that the previous stopgap wasn't as future-proof as we'd like it to be. :)
I've switched from duck-typing against
app.import
toapp.options
, since that's the accessor that fails every time this bug resurfaces.Here's the previous PR: https://github.com/ef4/ember-browserify/pull/30/files