您的位置:首页 > Web前端 > React

react native Unable to download JS bundle 的解决方案

2016-02-15 14:21 656 查看
有几种可能都会引起
1.在真机或模拟器中没设好IP,点菜单钮,将IP设好
2.没运行react-native start
3.以上两都运行了,打开http://localhost:8081/index.android.bundle?platform=android 提示
{"message":"TransformError: D:\\reactnative\\navigator\\node_modules\\react-deep-force-update\\lib\\index.js: [BABEL] D:\\reactnative\\navigator\\node_modules\\react-deep-force-update\\lib\\index.js: Unknown option: D:\\reactnative\\navigator\\node_modules\\react-deep-force-update\\.babelrc.stage","type":"TransformError","errors":[{}]}
解决方法为删除 react-deep-force-update\\.babelrc文件
显示如下内容就对了

                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: