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

Error: Load timeout for modules #256

Open
2 of 3 tasks
Symous opened this issue Dec 17, 2021 · 0 comments
Open
2 of 3 tasks

Error: Load timeout for modules #256

Symous opened this issue Dec 17, 2021 · 0 comments

Comments

@Symous
Copy link

Symous commented Dec 17, 2021

  • 我已经搜索过 issue,没有类似的问题,或者类似的问题仍然没有解决方案。
  • 我已经搜索过文档,并且仍然没有找到解决方案。
  • 我写了个问题重现的例子,链接或者代码将会贴在下面。

Reproduce Example Link or Code Fragment

在页面中渲染react-amap,我使用的是ant design pro / umi

What is Expected?

正常渲染

What is actually happening?

经过测试发现,在网络条件较差的情况下,偶尔会报错:

Error: Load timeout for modules: http://webapi.amap.com/count?type=UIInit&k=f97efc35164149d0c0f299e7a8adb3d2
http://requirejs.org/docs/errors.html#timeout

暂时没有找到原因和解决方案,望有方法可以修复,或者可以捕获到该异常从而进行后续处理,谢谢。

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

No branches or pull requests

1 participant