admin管理员组文章数量:1415655
I can't figure out where this error is coming from: Error: js/index.umd.BXzp7Rme.js cannot be loaded as its extension is not registered in assetExts
I created the app using npx expo install expo@latest with different presets. I found that the issue might be related to Metro, but I couldn't configure it properly to resolve these files.
The error occurs on all projects with Expo. I didn’t catch the exact moment when it started happening, so it’s likely due to some global configuration. Google and AI suggestions point to editing metro.config.js and adding 'js' to assetExts, but for some reason, this doesn't work.
Here are my versions:
expo-cli 5.0.3 npx expo --version 0.22.16 node 22.14.0
What could be the problem?
I try add 'js' extention in resolver assetExts
At first I couldn't do it, but then I thought that everything should work initially, without metro config and the error is somewhere in the global state
本文标签: react nativeMetro load extension Error with expolatestStack Overflow
版权声明:本文标题:react native - Metro load extension Error with expo@latest - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745171574a2646006.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论