Closed runspired closed 1 year ago
That's actually an issue with ember-auto-import not having the correct dependencies declared. I don't know exactly why it wasn't caught in the ember-auto-import test suite but 🤷
There is already a fix for it https://github.com/ef4/ember-auto-import/pull/576 that we just need to merge and release 👍
@mansona I think this is because ember-auto-import is using npm
and not pnpm
(and does not use an npmrc to configure pnpm to be strict) and thus does not have isolated node_modules trees that catch mistakes that are papered over by auto-install of peers or auto-hoisting.
EmberData uses extremely strict settings in our npmrc file to go with pnpm to ensure we're testing against such scenarios, hence us hitting this immediately.
EmberData's no-lockfile test scenario hits this issue when picking up the new release: