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

React Native Config Cocoapods Scripts may not Run if NPM is used #579

Open
jlandrum opened this issue May 27, 2021 · 0 comments
Open

React Native Config Cocoapods Scripts may not Run if NPM is used #579

jlandrum opened this issue May 27, 2021 · 0 comments

Comments

@jlandrum
Copy link

After hours of troubleshooting and getting nowhere, and as a creature of habit using npm, I found that the scripts that generate the native defines can randomly and forever stop running, except on the very first build, even if you nuke all temporary files and build caches.

Upon clearing node_modules then using yarn instead, the scripts began running. It may be useful to include in the readme
that yarn should be used. I'm not sure why this makes a difference but it does - I was unable to find any reasoning behind it
as it's rather unusual, the same files seem to be downloaded/created but Cocoapods does not seem to like it when npm is used.

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