Краткое руководство, как я решил запутанную ошибку React Native
Я запускал новый проект React Native и выполнил команду
npx react-native run-ios
чтобы запустить это.
Я получил ошибку с этой строкой в нем:
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
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