Assuming that you are using nvm and multiple versions of node installed, here is the solution: Say that you run npm install -g react-native-cli in v6.9.5. Now make v6.9.5 as default by running nvm alias default 6.9.5 Now run react-native run-ios The…
React Native运行的时候,经常碰到React Native unable to load script from assets index.android.bundle on windows解决方法有2种: 方法一:设置IP和端口 具体步骤:报错页面晃动手机,显示菜单 => 点击Dev Settings => 点击Debug server host & port for device => 设置IP和端口(ex:192.168.0.20:8081)=> 点击返回…