Closed thanhdn1 closed 7 years ago
I found out solution for this issue! I update npm to latest version: 5.1.0. Uninstall react-native-cli:
npm uninstall -g react-native-cli
Next, reinstall react-native-cli:
npm install -g react-native-cli
My issue has been fixed.
I inited React native project by:
In MyShop folder, I install react-native-drawer:
After install, I run project by:
And get error "Command
run-android
unrecognized. Make sure that you have runnpm install
and that you are inside a react-native project." I checked react-native by command lineAnd get info:
It seems react-native lib has been removed after installed react-native-drawer. My npm version:
My node version:
Please help me re-procedure and fix it. Thank you!