umijs / dumi

📖 Static Site Generator for component library development
https://d.umijs.org
MIT License
3.62k stars 1.18k forks source link

MODULE_0___default(...) is not a function #1584

Closed Silence-dream closed 1 year ago

Silence-dream commented 1 year ago

Question

这个报错我不知道如何解决,复现条件还没有找到,想请问一下有办法解决吗? [1] info - Umi v4.0.63

Sample Code

image

TypeError: mf_Users_silence_Documents_01MyCode_02_lowcode_platform_ui_components_node_modules_pnpm_registry_npmmirror_com_umijs_utils_4_0_63_node_modules_umijs_utils_compiled_strip_ansi_index_js__WEBPACK_IMPORTED_MODULE_0___default(...) is not a function
    at handleWarnings (client.js:169:1)
    at _callee4$ (client.js:281:1)
    at tryCatch (client.js:2:1)
    at Generator.<anonymous> (client.js:2:1)
    at Generator.next (client.js:2:1)
    at asyncGeneratorStep (client.js:3:1)
    at _next (client.js:4:1)
    at client.js:4:1
    at new Promise (<anonymous>)
    at client.js:4:1
    at handleMessage (client.js:261:1)
    at _callee$ (client.js:50:1)
    at tryCatch (client.js:2:1)
    at Generator.<anonymous> (client.js:2:1)
    at Generator.next (client.js:2:1)
    at asyncGeneratorStep (client.js:3:1)
    at _next (client.js:4:1)
    at client.js:4:1
    at new Promise (<anonymous>)
    at WebSocket.<anonymous> (client.js:4:1)
    at WebSocket.<anonymous> (client.js:59:1)
PeachScript commented 1 year ago

没有稳定复现无法排查,可以尝试创建最小可复现仓库再按照 bug 反馈模板提交 issue