-
Notifications
You must be signed in to change notification settings - Fork 33
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
Cannot find module when in monorepo/yarn workspace #61
Comments
To recreate this this is the repo with the error shown: https://github.com/rtablada/upcoming-games/tree/tailwind It is a pretty simple workspace project with a brand new ember application |
Yikes! Thanks for reporting |
You might be able to get unstuck for now by commenting out this line and these lines in your default generated |
Will have to check this out. Looks like there are a few other addons that are impacted too :( so while there needs to be addon level fixes there may be a need for a helper function to find the |
We're starting to adopt ember-cli-tailwind, and are also trying to adopt Yarn workspaces, and have this issue. Has the understanding of it changed since Oct 2018? We'll be investigating it sometime soon, so it'd be handy to hear any additional thoughts on causes and possible solutions. |
Not exactly but we do want to move to using ember-cli-postcss in the future. But we'll make sure folks can upgrade. I haven't used yarn workspaces so I don't know the details there |
When creating a new project I found that there is an error
This is a new application and the only issue I can find is that the project is in a yarn workspace instead of the root node project so paths are different.
This could be an issue with the build tree including relative paths to the project instead of doing a lookup to find the project/node_module root?
The text was updated successfully, but these errors were encountered: