embroider-build/addon-blueprint

"--yarn" does not work out of the box for yarn v3

bartocc opened this issue · 4 comments

When using the --yarn option, the command yarn start will not work.

The file .yarnrc.ymlneeds to be created with the contentnodeLinker: node-modules. The .gitignore` files needs some additions too

.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

A PR to fix this would be greatly appreciated, if you have the time <3

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!

Open in StackBlitz

This issue is specific to yarn v3, correct?

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+