Skip to content
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

fix: ERROR Not a selected package. #217

Open
Decipher opened this issue Jul 22, 2021 · 0 comments
Open

fix: ERROR Not a selected package. #217

Decipher opened this issue Jul 22, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Decipher
Copy link

🐛 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)

🛠️ To reproduce
Steps to reproduce the behavior:

  1. GitPod: https://lavender-xerinae-deryfy79.ws-us11.gitpod.io/
  2. yarn build druxt

Or:

  1. https://gitpod.io/#github.com/Decipher/druxt.js/tree/feature/82-yarn_monorepo
  2. 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 :)

@Decipher Decipher added the bug Something isn't working label Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants