Open HugoJuntaoChen opened 1 year ago
因隐私问题,无法上传图片 完整的报错堆栈: 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 | }
请提供最小可复现仓库
@HugoJuntaoChen defineConfig中是不是配置了ssr,如果配置了去掉试一下 我这边是报这个问题,去掉ssr配置就好了
Question
打开页面就会报错 Unhandled Rejection (TypeError): Cannot read properties of undefined (reading '_updatedFibers') .dumi/tmp/umi.ts:69 66 | type: ApplyPluginsType.modify, 67 | initialValue: context, 68 | });
Sample Code
node: 14.19.1 dumi: 2.2.10 react: 16.12.0