Yarn install error on dev branch: Workspace not found (@reach-internal/test@workspace:*)
moollaza opened this issue ยท 1 comments
moollaza commented
๐ Bug report
Current Behavior
Running yarn install
on dev
branch fails with an error:
โค YN0001: โ Error: @reach-internal/test@workspace:*: Workspace not found (@reach-internal/test@workspace:*)
Expected behavior
yarn install
should complete without errors?
Reproducible example
git clone git@github.com:reach/reach-ui.git
cd reach-ui
yarn install
Suggested solution(s)
I'm not familiar with Yarn or Workspaces, but it seems something isn't configured correctly in the dev branch, or setup instructions need to be updated?
Removing @reach-internal/test@workspace:*
from dependencies produces the same error with another dependency, removing that dependency produces another, and it seems to keep going.
Additional context
Your environment
Software | Name(s) | Version |
---|---|---|
Reach Package | New fork from GitHub | dev branch |
React | ||
Browser | ||
Assistive tech | ||
Node | 16.16.0 | |
npm/yarn | yarn | 3.2.2 |
Operating System | MacOS Monterey (M1) | 12.5 |
moollaza commented
๐คฆ๐ฝ I see now that Reach has switched to pnpm
on the dev
branch.
Running pnpm install
instead works.
Seems like the README needs to be updated on dev
. Shall I send a PR?