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

Unhandled Rejection (TypeError): Cannot read properties of undefined (reading '_updatedFibers') #1917

Open
HugoJuntaoChen opened this issue Sep 26, 2023 · 3 comments
Labels
question Further information is requested

Comments

@HugoJuntaoChen
Copy link

Question

打开页面就会报错
Unhandled Rejection (TypeError): Cannot read properties of undefined (reading '_updatedFibers')
.dumi/tmp/umi.ts:69
66 | type: ApplyPluginsType.modify,
67 | initialValue: context,
68 | });

69 | return renderClient(modifiedContext);
70 | },
71 | }))();
72 | }

Sample Code

node: 14.19.1
dumi: 2.2.10
react: 16.12.0

@HugoJuntaoChen HugoJuntaoChen added the question Further information is requested label Sep 26, 2023
@HugoJuntaoChen
Copy link
Author

HugoJuntaoChen commented Sep 26, 2023

因隐私问题,无法上传图片
完整的报错堆栈:
requestUpdateLane
http://localhost:8000/mf-dep_node_modules_umijs_preset-umi_node_modules_react-dom_index_js.50298e4d.async.js:25310:23
updateContainer
http://localhost:8000/mf-dep_node_modules_umijs_preset-umi_node_modules_react-dom_index_js.50298e4d.async.js:28767:14
push../node_modules/@umijs/preset-umi/node_modules/react-dom/cjs/react-dom.development.js.ReactDOMHydrationRoot.render.ReactDOMRoot.render
http://localhost:8000/mf-dep_node_modules_umijs_preset-umi_node_modules_react-dom_index_js.50298e4d.async.js:29220:3
renderClient
http://localhost:8000/mf-dep_node_modules_cache_mfsu_mf-va__node_modules__umijs_renderer-react_js.91025de0.async.js:1833:10

报错文件地址
/.dumi/tmp/umi.ts:69

66 | type: ApplyPluginsType.modify,
67 | initialValue: context,
68 | });

69 | return renderClient(modifiedContext);
70 | },
71 | }))();
72 | }

@PeachScript
Copy link
Member

请提供最小可复现仓库

@qiongshusheng
Copy link

qiongshusheng commented Oct 15, 2023

@HugoJuntaoChen defineConfig中是不是配置了ssr,如果配置了去掉试一下
我这边是报这个问题,去掉ssr配置就好了
image

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

No branches or pull requests

3 participants