smallnew / react-native-multibundler

react native可视化bundle拆包,支持远程加载和debug,支持官方的0.57~0.63.2版本,使用官方的metro拆包,适用于Android、iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'text' has not been registered,this can happen if*Metro(the local dev server)is run from the wrong folder......

liuchengjian opened this issue · comments

大神,你好,我是自己新建的一个项目,然后通过demo上的文件进行打基础包和业务包,打包通过命令行打包和工具打包都试过
我想问下,基础包打包的时候是否需要设置入口文件打包?
我设置入口文件打包就不会下面的问题

image

image
image
自己打包就没成功,大神的demo可以实现跳转。

"react": "16.9.0",
"react-native": "0.61.5",
"react-native-dqgbui": "^1.0.11",
"react-native-event-bus": "^1.0.0",
"react-native-fs": "^2.16.6",
"react-native-gesture-handler": "^1.6.1",
"react-native-largelist": "^1.2.12",
"react-native-modal-datetime-picker": "^8.7.1",
"react-native-reanimated": "^1.9.0",
"react-native-safe-area-context": "^3.0.5",
"react-native-screens": "^2.8.0",
"react-native-secharts": "^1.7.0",
"react-native-splash-screen": "^3.2.0",
"react-native-storage": "^1.0.1",
"react-native-svg": "^12.1.0",
"react-native-webview": "^10.3.2",
"realm": "^6.0.5",

解决了,是命令行打业务包的问题