react native - Metro load extension Error with expo@latest - Stack Overflow

I can't figure out where this error is coming from:Error: jsindex.umd.BXzp7Rme.js cannot be load

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745171574a4614957.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信