为什么我的React-Scripts构建对SourceMapConsumer丢下错误?
我正在用离子/React构建一个应用程序,直到目前它一直正常运行。我在Ruby的FFI体系结构中遇到了一个错误,并跑了一条酿造Ruby,将路径导出,并用啤酒重新安装了Cocoapods。从那时起,我的反应式构建每次都会因此错误消息而失败:
You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
我什么也没做任何会影响它的东西,而且我正在努力寻找任何相关信息。对于我如何解决这个问题,任何建议或帮助将不胜感激
I am building an app in Ionic/react, and up until this point it has functioned normally. I ran into an error with the FFI architecture in Ruby, and ran a brew install ruby, exported the path, and reinstalled cocoapods with brew. Since then, my react-scripts build has failed every time with this error message:
You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
I have done nothing else that would have affected it, and I am struggling finding any relevant information. Any advice or help would be greatly appreciated as to how I can resolve this issue
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它在我使用节点18时出现。尝试将您的节点实例更改为16。
It appeared when I used Node 18. Try changing your node instance to 16.