-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@ember/string is not a dependency #347
Comments
I'm still investigating exactly what's causing our issues, it may be a combination of issues related to Yarn workspaces hoisting, and the fact that At present, everything seems in order though, both packages are installed in the top-level
|
@timiyay did you ever figure this out? I have a similar issue with my Yarn workspace |
@EWhite613 we did, though I'm struggling to find the history of how we did it. We have some notes, but I'm not sure they were the final fix. I'll add them here anyway, in case it helps. The trigger for our problems was upgrading This error would show up in the apps that consume these addons, when trying to build. Our fix was to upgrade After that, we'd have to bump these addons and That's the best I can recall of our story 😅 |
Ember 5 removed automatic import of |
This package imports
@ember/string
, but doesn't list it in itspackage.json
:ember-inflector/addon/lib/system/inflector.js
Line 1 in 06d0d8b
I'm investigating an issue with a Yarn workspaces monorepo we have for our Ember addons, and opened this issue to try and clarify whether
@ember/string
is expected to be available some other way, such as viaember-source
.Our use case is:
ember-data
ember-data
is upgraded to~3.24
for one addon, other addons that are still onember-data@3.20
start failing CI with an errorUncaught Error: Could not find module @ember/string imported from 'ember-inflector/lib/system/inflector'
The text was updated successfully, but these errors were encountered: