-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
初始化项目后,打包bundle报错 #15766
Comments
我也遇到这个问题了,直接taro init新的模板,什么都没做,直接编译就报错了 |
同样的问题, yarn dev:rn 可以执行 build就会报错 |
+1 |
版本用4.0.2试试 |
遇到同样的错误,有解决方法吗? |
同问题~ |
config/index.ts设置{env: { NODE_ENV: JSON.stringify(process.env.NODE_ENV) }} 可以解决 |
相关平台
React Native
复现仓库
https://github.com/1wayticket/taro-rn-split.git
使用框架: React
复现步骤
参照教程
使用taro init后,选择分离模式创建工程后,yarn install。配置rn的输出配置,然后执行yarn build:rn --platform android导出bundle,报错如下:
期望结果
期望正常导出bundle
实际结果
打包报错
环境信息
The text was updated successfully, but these errors were encountered: