-
Notifications
You must be signed in to change notification settings - Fork 899
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
Allow usage of pnpm #1207
Comments
There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
Reopening, pnpm is something that we'd like to support |
Hey, support for pnpm is something i have been working on for a while. I was able to make it work with
The pnpm paths are strongly dependent on installed versions of the dependencies, e.g.
Another possible solution is creating a Where to go from there? I think adding all the required steps to make it work to the docs is one of the options, but definitely not the best one. |
Following steps working for me
Also integrated the following changes in metro.config.js:
React and React Native versions: It seems that every Gradle command is working fine through the command line. However, when I try to sync from Android Studio, the following error is displayed: 'Missing ExternalProject for:' |
Are you saying these changes worked for you @rahulpandey? Or are you still getting the |
For us we had react native working with pnpm without hoisting. With new arch enabled. Then at one point of upgrading to newest RN, it stopped working with the error:
However, it works if using gradle from the command line. |
Ok, I found the fix for React Native. Instead of
you have to do
then it works in newest Android Studio. |
You saved my day!!!! |
adding above deps to dev dependencies and then from @bimusiek solution for android studio pnpm works smoothly no issues so far |
Allow the usage on
pnpm
instead ofyarn
ornpm
.Perhaps a guide for doing the
init
manually would be helpful until such capability is introduced.The text was updated successfully, but these errors were encountered: