Open tangbzai opened 1 month ago
我也有这个问题,补充一下环境:
umi max: 4.3.32
nodejs: 23.2.0
windows: 11 24H2
● Mako ▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨ (62%) generate begin generate begin thread 'Mako thread 1' panicked at crates\mako\src\module_graph.rs:192:32:
module_id ModuleId { id: "D:/xxxxx\xxxxxx\node_modules\.pnpm\rc-util@5.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1\node_modules\rc-util\es\Dom\styleChecker.js" } not found in the module graph
stack backtrace:
0: 0x7ff8d70726ad - napi_register_module_v1
1: 0x7ff8d70912a9 - napi_register_module_v1
2: 0x7ff8d706d111 - napi_register_module_v1
3: 0x7ff8d7074547 - napi_register_module_v1
4: 0x7ff8d7074139 - napi_register_module_v1
5: 0x7ff8d7074c82 - napi_register_module_v1
6: 0x7ff8d7074ac6 - napi_register_module_v1
7: 0x7ff8d707301f - napi_register_module_v1
8: 0x7ff8d70746a6 - napi_register_module_v1
9: 0x7ff8d8df2f64 - napi_register_module_v1
10: 0x7ff8d6e9f414 - napi_register_module_v1
11: 0x7ff8d6f2cf9a - napi_register_module_v1
12: 0x7ff8d6ea0c3b - napi_register_module_v1
13: 0x7ff8d733396c - napi_register_module_v1
14: 0x7ff8d7346e0f - napi_register_module_v1
15: 0x7ff8d6e95123 - napi_register_module_v1
16: 0x7ff8d70ad78b - napi_register_module_v1
17: 0x7ff8d70aeb23 - napi_register_module_v1
18: 0x7ff8d6e6f8dc - napi_register_module_v1
19: 0x7ff8d6d47941 -
使用pnpm run dev无问题,使用npm run build也无问题,只有使用pnpm run build会异常
复现步骤
mako: {}
环境信息
umi: 4.3.28 nodejs: 20.12.2 windows: 10 22H2
错误信息