-
Notifications
You must be signed in to change notification settings - Fork 28
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
[OSX] No such file or directory on all rn commands #42
Comments
Which your react native version is it? |
Hey! So, the RN version is 0.61.2. Terminal:When I'm outside of the project:
Inside project:
Inside project as well:
Same but with npx:
IDEA:Terminal:
IDEA RN Console:
Yarn, NPM and gradle commands work fine. |
I am in the same situation with @Alex-Bond |
i've found the reason, the latest RN 0.60+ no more relay on global rn cli. you can try npm install -g react-native-cli as a temporary fix, and i'll do a plugin update to compatible with both latest and old RN version. |
Fixed, try this plugin jar first: |
@beansoftapp works perfectly! Thank you! |
Hi!
Caught some weird bug -
React Native Console: Unable to run the commandline:Cannot run program "react-native" (in directory "/Users/alex/IdeaProjects/someRNProject"): error=2, No such file or directory
It used to work fine, but at some point stopped working. Maybe it's better to move node_modules/.bin to config so you can run commands from there?
Calling react-native from terminal wors fine. NPM/YARN works fine in terminal and plugin as well.
The text was updated successfully, but these errors were encountered: