دليل سريع لكيفية حل خطأ محير في 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