I get several npm ERR! when trying to run : D:\React Native\cleanProject>npm run android npm ERR! missing script: android
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2019-03-26T08_39_44_164Z-debug.log
npm i
D:\React Native\cleanProject>npm run android npm ERR! missing script: android
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2019-03-26T08_39_44_164Z-debug.log
The command that you are trying to run is doesn't exist. Please try to run with this given below command.
react-native run-android
I think you need to run the following command for installing 'react-native' project to your Node JS first.
npm install react-native
After that, also make sure an emulator is started or cell phone is connected with developer mode.
And then retry by running
react-native run-android
to see if you can build and run the your application successfully.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With