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

Yarn install error on dev branch: Workspace not found (@reach-internal/test@workspace:*) #952

Open
moollaza opened this issue Aug 3, 2022 · 1 comment

Comments

@moollaza
Copy link

moollaza commented Aug 3, 2022

πŸ› 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:*)

Yarn install error

Expected behavior

yarn install should complete without errors?

Reproducible example

git clone [email protected]: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 moollaza changed the title Yarn Install Error - Workspace not found (@reach-internal/test@workspace:*) Yarn install error on dev branch: Workspace not found (@reach-internal/test@workspace:*) Aug 3, 2022
@moollaza
Copy link
Author

moollaza commented Aug 3, 2022

🀦🏽 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant