当我尝试制作hello-world
样品时出现此错误:
react-native init hello_world
cd hello_world
react-native run-android
即使我跑了:
npm install -g react-native-git-upgrade
react-native-git-upgrade
我在commend line console
.
我已经搜索并尝试了许多解决方案,但它似乎不起作用:例如:
* upgrade react-native
* 使用守望者watchman watch-del-all
* 删除node_modules
* 清理缓存npm cache clean
或npm start -- --reset-cache
操作:Window 8
react-native-cli: 2.0.1
react-native: 0.44.2 ( 也尝试过 0.47.1 )
Android: Simulator Nexus5X
谢谢大家!