addon and yarn workspaces
basz opened this issue · 2 comments
Hi, I am trying to convert an addon within a yarn workspace. The application package.json contains the ember-classic-decorator package and changes there work. However when i convert a class in the addon I'm getting 'Could not find module ember-classic-decorator
imported from @plhw-lab/integration-clouddrive/services/cloud-drive-integration
.
so I've tried to install the 'ember-classic-decorator' directly in the addon's package. And I've moved the 'ember-classic-decorator' requirement from devDepenndencies to dependencies inside the application package. However I'm getting the same error.
Should this addon work with addons?
This package should work within addons, but it does need to be a direct dependency of the addon, in dependencies
. Sounds like you’ve tried that?
Hm, don't know why but after a retry it works. Thanks!