Closed dwickern closed 2 years ago
It was a conflict with ember-cli-shims
I've got the same issue, but I don't have ember-cli-shims.
In my case, it was a conflict with ember-cli-deprecation-workflow. I've specified in the package.json that ember-classic-decorator should go after ember-cli-deprecation-workflow: https://github.com/andreyfel/ember-classic-decorator/commit/f4a3fd00d289f1eede5542ab5fdb9f958d7ac0d1
@dwickern I'm curious how did you solve your issue?
@andreyfel I confirmed that removing ember-cli-shims allows Resolver
and DS
to resolve. The shims dependency is from an ancient version of ember-cli-mirage, and there's no upgrade path so I'm stuck on Ember 3.26 for now.
After upgrading to Ember 3.27, I get an error for each adapter and serializer, even though they extend from
DS.Adapter
andDS.Serializer
, respectively:These modules no longer resolve: https://github.com/emberjs/ember-classic-decorator/blob/6d578829d8f193124c9379a03f315aa911def4f1/vendor/classic-decorator/index.js#L156-L157