Skip to content

请求热更新怎么集成到最新版的expo项目中 #466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1061127386 opened this issue Jan 22, 2025 · 8 comments
Open

请求热更新怎么集成到最新版的expo项目中 #466

1061127386 opened this issue Jan 22, 2025 · 8 comments

Comments

@1061127386
Copy link

Image

@1061127386
Copy link
Author

(NOBRIDGE) ERROR Error: react-native-update 模块无法加载,请对照文档检查 Bundle URL 的配置 [Component Stack]
(NOBRIDGE) WARN Route "./_layout.tsx" is missing the required default export. Ensure a React component is exported as default. [Component Stack]
(NOBRIDGE) ERROR Error: react-native-update 模块无法加载,请对照文档检查 Bundle URL 的配置

@sunnylqm
Copy link
Contributor

需要prebuild

@1061127386
Copy link
Author

已经prebuild过了,但是使用了expo-router没有app.tsx这个根组件,我试了在 app/_layout 导出的组件包了一层 也不行

@sunnylqm
Copy link
Contributor

截图看下报错

@BlueBiuBiu
Copy link

截图看下报错

Image

@BlueBiuBiu
Copy link

截图看下报错

Image

react native升级到0.76.7重新构建后正常

@drop0118
Copy link

我用expo start就会报这个错,但是用expo run:android就一切ok

@sunnylqm
Copy link
Contributor

不支持 expo go 客户端(因为原生环境是固定的)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants