react-native绑定失败:错误:找不到模块/metro-react-native-babel-transformer/src/index.js

时间:2019-09-11 16:36:48

标签: react-native

我尝试使用react-native https://react-native-community.github.io/upgrade-helper/?from=0.59.8&to=0.60.50.59.8的版本从0.60.5升级到rn-diff-purge

然后我得到

  

错误:捆绑失败:错误:找不到模块'/myapp/node_modules/@react-native-community/cli/node_modules/metro-react-native-babel-transformer/src/index.js

运行react-native run-ios

如何解决此捆绑问题?

1 个答案:

答案 0 :(得分:0)

寻找/研究解决方案几天后。 最后,我找到了解决方案并通过执行此https://github.com/facebook/react-native/issues/25585#issuecomment-518357303

进行了修复
相关问题