This tutorial explains How to solve the unrecognized command run-ios error with React Native. Recently when I executed the npx react-native run-ios command on the terminal I got the following error.
unrecognized command "run-ios"
Solution :
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.
Finally execute npx react-native run-ios command from the project folder and not from the root.
Thank you for reading this article, and if you have any problem, have a another better useful solution about this article, please write message in the comment section.
No comments:
Post a Comment