Open knownasilya opened 4 years ago
This sounds like a version skew problem. Do you have multiple mismatched versions of the embroider packages?
Maybe this has to do with adding @embroider/core
as a dep to ember-try:
name: 'embroider-tests',
npm: {
devDependencies: {
'@embroider/core': '*',
'@embroider/webpack': '*',
'@embroider/compat': '*',
},
},
Since the other two might depend on that already.
Ah, nvm, those use a peerDep.
Looks like it's this:
=> Found "@embroider/core@0.4.3"
info Reasons this module exists
- "ember-auto-import" depends on it
- Hoisted from "ember-auto-import#@embroider#core"
- Hoisted from "ember-auto-import#@embroider#core#@embroider#macros#@
Which is "ember-auto-import": "^1.6.0",
I had the same thing happening in my addon. In my case I wasn't using ember-auto-import so I just removed it and that cleared it up.
Test: https://travis-ci.org/github/knownasilya/ember-toastr/jobs/726640814 Code: https://github.com/knownasilya/ember-toastr