React native com.facebook.react.common.javascriptexception未捕获引用错误:未定义regeneratorruntime
我可以在ios上运行该应用程序,但当我尝试在android上运行时,我会出现此错误!我怎样才能修好它? 我试过了。/格雷德鲁很干净,但什么也没发生!而且我的代码一直运行到昨天。它有一个通用的解决方案吗React native com.facebook.react.common.javascriptexception未捕获引用错误:未定义regeneratorruntime,react-native,React Native,我可以在ios上运行该应用程序,但当我尝试在android上运行时,我会出现此错误!我怎样才能修好它? 我试过了。/格雷德鲁很干净,但什么也没发生!而且我的代码一直运行到昨天。它有一个通用的解决方案吗 Environment: OS: macOS High Sierra 10.13 Node: 8.9.4 Yarn: 1.5.1 npm: 6.0.0 Watchman: 4.9.0 Xcode: Xcode 9.2 Build version 9C40b Andro
Environment:
OS: macOS High Sierra 10.13
Node: 8.9.4
Yarn: 1.5.1
npm: 6.0.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.1 AI-173.4720617
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.54.2 => 0.54.2
进口巴别塔胶
单击以下内容以供参考,这可能会解决您的问题
封闭式地铁捆扎机
转到项目的根目录
运行npm启动
Can you try deleting your android, ios and node modules folder and run the following
1.> npm install // to get dependecies loaded
2.> react-native upgrade // to create ios and android folder
3.> react-native link // to link the libraries
4.> react-native run-android