-
Notifications
You must be signed in to change notification settings - Fork 128
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
Comments
would be useful if you added the actual output. |
It's in the title, |
+1 |
2 similar comments
+1 |
+1 |
"npx gluestack-ui@latest init" just flat out does not work with yarn 2+ because of this. |
+1 |
Thanks for reporting this. Currently, we provide full support for the Yarn Classic stable version (1.x) and will look into your suggestion. |
Please help us. |
Off point man |
Here's what I think is happening: In modern versions of yarn, when you install a package, it installs its peer dependencies by default. This didn't always used to happen. It used to be that it wouldn't install peer deps by default. This is what setting this flag If somebody were to write up a quick PR, figuring out what the modern-day yarn equivalent is would be a great start |
+1 |
1 similar comment
+1 |
+1 |
We're waiting for yarn version latest version to be stable. Since, we use other libraries like native-wind we can't actually do that. Hence no solution at the moment. If you guys have any suggestion in mind, we are always happy to get public contributions. |
Workaround ive been using is to run yarn install after the error. |
and there is no issue with anything when you don't use the |
Yes sure. |
we will look into it, test and then update the cli. thank you for reporting 😄 |
+1 |
This will take some time, we thank you for the patience. |
Description
Trying to initialize a new project with gluestack-ui and Yarn 4.x errors out
CodeSandbox/Snack link
N/A
Steps to reproduce
gluestack-ui Version
latest
Platform
Other Platform
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: