‘react-native’ is not recognized as an internal or external command, operable program or batch file
1 min readOct 12, 2020
When you cloned another react native project and try to run on your android device, you can use this command:
$ npx react-native run-android
But, if you not installed any dependencies you may get this error:
‘react-native’ is not recognized as an internal or external command, operable program or batch file
This error shows that react-native is not recognized because npm couldn’t found react-native in local project.
Solution
Install dependencies with yarn or npm:
npm install