-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Uncaught TypeError: application 'sub-app' died in status LOADING_SOURCE_CODE: Failed to fetch #1331
Comments
Failed to fetch ,说明网络不通,要么你没启动,要么跨域被阻止了 |
|
难道是热更新问题?#1299 |
|
看 network 就知道了,跨域的话控制台也有报错 |
子应用的网络请求是成功的,但是子应用就是没挂载,然后控制台报上面这个错误 |
给个demo看看? |
demo不方便给,我贴下我的webpack配置内容 |
这个配置看不出来啥问题,报错 |
应该不止这么一个请求吧,并且报错也不止这一个,信息太少,看不出来问题 |
问题解决了,谢谢耐心指点 |
怎么排查出来的么? |
大佬怎么解决的。通遇到此问题 |
拆分旧项目遇到这个问题困扰我老半天,最后发现index.html有俩第三方的资源,删了就OK了 |
这个问题怎么解决的,能说下吗 |
想问下是怎么解决的 |
老铁,如何解决的呀? |
已有react项目做为子应用接入时,一直报错。添加了生命周期函数且配置了output,之前通过"webpack-dev-server --progress --log-level=debug --colors --config config/webpack.dev.js"启动项目
The text was updated successfully, but these errors were encountered: