"--yarn" does not work out of the box for yarn v3
bartocc opened this issue · 4 comments
bartocc commented
When using the --yarn
option, the command yarn start
will not work.
The file .yarnrc.ymlneeds to be created with the content
nodeLinker: node-modules. The
.gitignore` files needs some additions too
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
NullVoxPopuli commented
A PR to fix this would be greatly appreciated, if you have the time <3
bartocc commented
PR created @NullVoxPopuli , but I believe something is missing.
Here's a failing stackblitz that tries to create a new v2 addon from my PR branch
Any guidance greatly appreciated!
simonihmig commented
This issue is specific to yarn v3, correct?
bartocc commented
This issue is specific to yarn v3, correct?
I searched https://classic.yarnpkg.com to be sure, and could not find any ref to .yarnrc.yml
, so yes, I'd say this is specific to V3+