最佳答案
我现在正试着让 ES6的反应-本机-webpack-服务器运行起来
在 Android 模拟器上。区别在于我已经升级了我的 package.json
和 build.grade
,使用了反应 0.18.0
,并且在引导时得到了这个错误。据我所知,AppRegistry
是正确导入的。即使我注释掉代码,仍然会出现这个错误。这在 iOS 上没有问题。
我做错了什么?
编辑: 在尝试了其他支持0.18.0的样板之后,我仍然遇到同样的问题。