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

Error: Command failed: yarn config set legacy-peer-deps true #2567

Open
1 of 6 tasks
FezVrasta opened this issue Nov 6, 2024 · 7 comments
Open
1 of 6 tasks

Error: Command failed: yarn config set legacy-peer-deps true #2567

FezVrasta opened this issue Nov 6, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@FezVrasta
Copy link
Contributor

Description

Trying to initialize a new project with gluestack-ui and Yarn 4.x errors out

CodeSandbox/Snack link

N/A

Steps to reproduce

yarn init
yarn set version 4.5.1
yarn dlx gluestack-ui@latest init

gluestack-ui Version

latest

Platform

  • Expo
  • React Native CLI
  • Next
  • Web
  • Android
  • iOS

Other Platform

No response

Additional Information

No response

@YDaskaloff
Copy link

would be useful if you added the actual output.

@FezVrasta
Copy link
Contributor Author

It's in the title, Error: Command failed: yarn config set legacy-peer-deps true

@FezVrasta
Copy link
Contributor Author

I just noticed the same happens when I try to add any component.

CleanShot 2024-11-06 at 4  25 45@2x

@JavanPoirier
Copy link

+1

2 similar comments
@JMRMEDEV
Copy link

+1

@keepersmith
Copy link

+1

@keepersmith
Copy link

"npx gluestack-ui@latest init" just flat out does not work with yarn 2+ because of this.
"classic" yarn is super old by now.
Is this going to be fixed?

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
Status: No status
Development

No branches or pull requests

6 participants