[Bug][Harmony CPP][4.1.11 & 4.2.0] 19 个主页面稳定触发 Unexpected early exit,18 个正常 #19454
terryluying
started this conversation in
鸿蒙 && OpenHarmony 适配小组
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
摘要
Harmony CPP 目标中,页面数从 18 增加到 19 时,Taro 构建稳定失败;
18 页则稳定通过。该现象在 Taro 4.1.11 和 4.2.0 中均可复现。
这会限制实际产品的页面规划。
复现对照
两组对照中,除增加一个最小空白页面外,构建配置保持不变。
环境
@tarojs/*4.1.11、4.2.0最小复现步骤
在一个 Taro React + Harmony CPP 项目中:
app.config的pages配置为 18 个页面时,执行 Harmony CPP 生产构建,构建成功。仅新增第 19 个最小空白页面,例如:
将该页路径加入
pages配置,页面总数变为 19 个。使用常规 Harmony CPP 构建命令:
或项目中等价的 Harmony CPP 构建命令。
构建在
transforming...阶段稳定失败。All reactions