🐛 The bug
While building inside a Yarn 2 mono-repo I intermittently get this error:
ERROR Not a selected package. 21:36:31
at .yarn/cache/siroc-npm-0.14.0-02d5e57a2f-d1590acb07.zip/node_modules/siroc/bin/cli.js:629:17
at .yarn/cache/siroc-npm-0.14.0-02d5e57a2f-d1590acb07.zip/node_modules/siroc/bin/cli.js:168:39
at Generator.next (<anonymous>)
at .yarn/cache/siroc-npm-0.14.0-02d5e57a2f-d1590acb07.zip/node_modules/siroc/bin/cli.js:108:61
at new Promise (<anonymous>)
at __async$6 (.yarn/cache/siroc-npm-0.14.0-02d5e57a2f-d1590acb07.zip/node_modules/siroc/bin/cli.js:89:10)
at runInParallel (.yarn/cache/siroc-npm-0.14.0-02d5e57a2f-d1590acb07.zip/node_modules/siroc/bin/cli.js:149:3)
at Package.<anonymous> (.yarn/cache/siroc-npm-0.14.0-02d5e57a2f-d1590acb07.zip/node_modules/siroc/bin/cli.js:619:30)
at Generator.next (<anonymous>)
at fulfilled (.yarn/cache/siroc-npm-0.14.0-02d5e57a2f-d1590acb07.zip/node_modules/siroc/bin/cli.js:259:24) (repeated 2 times)
🐛 The bug While building inside a Yarn 2 mono-repo I intermittently get this error:
🛠️ To reproduce Steps to reproduce the behavior:
yarn build druxt
Or:
yarn build druxt
(maybe)🌈 Expected behaviour Not throw error :(
ℹ️ Additional context Based on all the other issues I’ve had, I’m sure Yarn 2 is responsible :)