-
Notifications
You must be signed in to change notification settings - Fork 28
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
Install fails when using yarn workspaces #22
Comments
I have not used workspaces. Probably needs a different way to detect yarn. |
With workspaces, the monorepo only has a single lockfile, not sure if that is the problem though? But the problem seems yarn related… |
Still having the same issue on
|
yarn 2 and workspaces is a completely different world in some ways. For example, the node_modules folder is largely gone.. only necessary for certain packages that are not yet converted to work with yarn 2 world.. most notably, from my understanding full-icu is relying on postinstall and yarn 2 has issues with it (https://yarnpkg.com/advanced/lifecycle-scripts#a-note-about-postinstall). We are probably going to stop using full-icu unfortunately.. I've been mulling it over about how to leverage it without having to choose between the 2. My current thought was to use full-icu in the environment but not as part of my package.json install probably. It could be in a parent package outside the workspace maybe.. tbd... |
fixed by #38 no longer trying to do a sub install |
When using yarn workspaces to install this package, I get an error. This is similar to #9.
As a workaround, if I
cd
to the workspace and run:it works.
The text was updated successfully, but these errors were encountered: