[Bug?]: yarn create redwood-app
fails using yarn 3
#8164
Labels
bug/confirmed
We have confirmed this is a bug
yarn create redwood-app
fails using yarn 3
#8164
What's not working?
My global version of yarn is the latest (3.5 at this time). I prefer it to yarn 1 because it's faster and maintained, and now that corepack is a thing it's very easy to enable.
That means when I run
yarn create redwood-app
, the version of yarn running the (now undocumented)create
command is 3.5, not 1.22.19, or whatever the latest version of the v1 release line is.This leads to a problem during the "Install node modules" step:
They important line is near the end:
YN0009 means yarn couldn't build a package (source: https://yarnpkg.com/advanced/error-codes/#yn0009---build_failed). Opening the log file there:
Workarounds
yarn install
and it should completeyarn config set nodeLinker "node-modules" -H
, then try again and it should workRelated issues:
How do we reproduce the bug?
Make your global version of yarn v3. I do it via corepack:
Then just run
yarn create redwood-app
and it should fail.What's your environment? (If it applies)
Are you interested in working on this?
The text was updated successfully, but these errors were encountered: