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

[Bug] 本地热更新第二次后报错 #12189

Closed
Emensionyu opened this issue Mar 8, 2024 · 2 comments
Closed

[Bug] 本地热更新第二次后报错 #12189

Emensionyu opened this issue Mar 8, 2024 · 2 comments

Comments

@Emensionyu
Copy link

What happens?

我把项目的umi升级到4.0后,本地第一次热更新可以,第二次会出现一个报错,ncaught (in promise) ScriptExternalLoadError: Loading script failed.(error: https://10.242.144.172:7788/mf-va_remoteEntry.js),

mfsu: {
esbuild: true,
},

Context

  • Umi Version:4.1.2
  • Node Version:v16.16.0
  • Platform:mac
Copy link

github-actions bot commented Mar 8, 2024

由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 8, 2024
@fz6m
Copy link
Member

fz6m commented Mar 9, 2024

如果你要升级 umi 3 到 4 的话,除了参考现有文档,网上搜索相关文章和资料以外,最好新建一个 umi 4 项目一点一点往里挪,如果一整个拿进来问题可能很多你不好处理也没有头绪。

如果你这里 mfsu 出了问题,就先把 mfsu: false 关了,等 mfsu 关闭的情况应用不报错了,再开启它看看有什么问题。

如还有问题,需要给一个最小复现。

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

No branches or pull requests

2 participants