当前位置:   article > 正文

解决react-native 报错Command `run-android` unrecognized的问题_command `run-android` unrecognized. make sure that

command `run-android` unrecognized. make sure that you have run `npm install

在运行react-native命令 react-native run-android的时候,有时会遇到如下问题:
Command run-android unrecognized. Make sure that you have run npm install and that you are inside a react-native project.

解决方法:
1:npm install -g react-native-cli
2:npm install --save react-native
3:react-native init

希望对大家有用

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/670539
推荐阅读
相关标签
  

闽ICP备14008679号