Just a few weeks until the 2021 JavaScript Full-Stack Bootcamp opens.
Signup to the waiting list!
I was starting a new React Native project and I ran the command
npx react-native run-ios
to start it.
I got an error back with this line in it:
unrecognized command "run-ios"
I could not figure this out, until I realized I was running this command in my home folder.
Instead, this needs to be run from inside the project’s folder.
cd
into the React Native project, and this error should go away and your React Native app should start successfully
Download my free React Handbook
The 2021 JavaScript Full-Stack Bootcamp will start at the end of March 2021. Don't miss this opportunity, signup to the waiting list!
More react-native tutorials:
- How to solve the "unrecognized command run-ios" error with React Native
- How to fix the `iphoneos cannot be located` error in macOS
- How to fix the: "EMFILE: too many open files, watch" error in macOS