I have a V2 addon that uses ember-simple-auth. When I try to use the addon in an Embroider app, it fails to start with the following error:
webpack 5.94.0 compiled with 1 error in 2406 ms
Build Error (PackagerRunner) in ../../../../node_modules/.pnpm/ember-customer-auth@1.3.0_@babel+core@7.25.2_@ember+test-helpers@3.3.1_@babel+core@7.25.2_@gl_zlshd7pwbijf4cnbfuif3z53ji/node_modules/ember-customer-auth/dist/routes/application.js
Module not found: Error: ember-customer-auth is trying to import from ember-cookies but that is not one of its explicit dependencies
I have ember-cookies installed as a dependency in my V2 addon, so I am not sure why this error is being thrown.
I am using pnpm link if that helps.
I have a V2 addon that uses
ember-simple-auth. When I try to use the addon in an Embroider app, it fails to start with the following error:I have
ember-cookiesinstalled as a dependency in my V2 addon, so I am not sure why this error is being thrown.I am using
pnpm linkif that helps.