小编Vij*_*dar的帖子

急速模块图中不存在模块`@ babel / runtime / helpers / interopRequireDefault`

我开始学习对本机作出反应,当我成功运行我的项目构建但打开应用程序并遇到此错误时,我得到了

我必须运行我的react native示例项目,例如react-native init AwesomeProject

cd AwesomeProject

npm insatll

react-native运行Android

而得到这个errorerror:捆绑失败:错误:无法解析模块@babel/runtime/helpers/interopRequireDefault/Users/macbookpro/AwesomeProject/index.js:模块 @babel/runtime/helpers/interopRequireDefault不会在急速模块map`存在

在完成所有操作之前,我将通过此链接进行本机设置

https://facebook.github.io/react-native/docs/getting-started.html

我正在使用macOS High Sierra 10.13.6

我将不胜感激任何帮助!

android ios react-native npm-install

1
推荐指数
1
解决办法
933
查看次数

标签 统计

android ×1

ios ×1

npm-install ×1

react-native ×1