Skip to content
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

import-html-entry 新版本引起 qiankun 子应用“白屏”,一直处于 LOADING_SOURCE_CODE 状态 #2448

Closed
chiaweilee opened this issue Mar 29, 2023 · 10 comments · Fixed by #2598

Comments

@chiaweilee
Copy link
Member

chiaweilee commented Mar 29, 2023

没有任何报错,现象是子应用一直处于 LOADING_SOURCE_CODE 状态。

复现方法:todo

@kuitos
Copy link
Member

kuitos commented Mar 29, 2023

报错贴一下

@kuitos
Copy link
Member

kuitos commented Mar 29, 2023

2.10.4 发了,升到最新再看下

@chiaweilee chiaweilee changed the title WIP: 依赖变动引发乾坤异常 依赖变动引发乾坤异常 Mar 29, 2023
@lizijie1993
Copy link

[email protected]还是白屏。加载的子应用并没有渲染;
image

先通过锁定依赖临时解决问题
"resolutions": {
"import-html-entry": "1.14.3"
}

@kuitos
Copy link
Member

kuitos commented Mar 30, 2023

发下报错跟复现仓库,我们看下 @lizijie1993

@chiaweilee chiaweilee reopened this Mar 30, 2023
@chiaweilee
Copy link
Member Author

chiaweilee commented Mar 30, 2023

发下报错跟复现仓库,我们看下 @lizijie1993

没有报错,现象是 microapp 一直处于 LOADING_SOURCE_CODE 状态。

我找到一个问题 👉 kuitos/import-html-entry#91
程序上有漏洞,某些条件下 promise 无法 resolve。
修复后,我这边项目问题解决了

@kuitos
Copy link
Member

kuitos commented Mar 30, 2023

这个代码一直有的,不是最近更新导致的吧?

@chiaweilee
Copy link
Member Author

chiaweilee commented Mar 30, 2023

是如何引发的我不确定。但这一段代码的 promise 的确有问题,修复后我的问题也解决了。
不过的确是最近版本造成的。我们昨天白天一切正常,晚上发布故障。最后通过锁定 import-html-entry 版本解决了问题。

@chiaweilee chiaweilee changed the title 依赖变动引发乾坤异常 import-html-entry 新版本引起 qiankun 子应用“白屏”,一直处于 LOADING_SOURCE_CODE 状态 Mar 30, 2023
@kuitos
Copy link
Member

kuitos commented Mar 30, 2023

released v1.14.6

@kuitos kuitos closed this as completed Mar 30, 2023
@kuitos
Copy link
Member

kuitos commented Mar 30, 2023

升级 import-html-entry 到 v1.14.6 看下问题是否已修复 @lizijie1993 @chiaweilee

@lizijie1993
Copy link

升级 import-html-entry 到 v1.14.6 看下问题是否已修复 @lizijie1993 @chiaweilee

已经修复,多谢

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