错误:无法加载包本地主机:8081 [英] Error : Failed to load bundle localhost:8081
本文介绍了错误:无法加载包本地主机:8081的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在运行 react-native run-ios 时遇到问题,显示以下消息,我认为它与 babel 相关:
I just have an issue when i run react-native run-ios, following message is showing and i think it's related to babel :
有人已经遇到这个问题了吗?
Someone has already this issue please ?
"GET /index.bundle?platform=ios&dev=true&minify=false HTTP/1.error: bundling failed: Error: Unable to resolve module `@babel/runtime/helpers/interopRequireDefault` from `/Volumes/SD/react/PropertyFinder/index.js`: Module `@babel/runtime/helpers/interopRequireDefault` does not exist in the Haste module map
谢谢
推荐答案
我有同样的问题.我尝试安装
I have same issue. I tried to install
npm 添加@babel/runtime
npm add @babel/runtime
然后
npm 安装
对我有用,希望对你有帮助.
It works for me, i hope it helps you.
这篇关于错误:无法加载包本地主机:8081的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文