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

mako使用@umijs/plugin-qiankun;构建报错 chunk of umi not found. #16

Open
zhu2018 opened this issue Oct 29, 2024 · 1 comment
Open

Comments

@zhu2018
Copy link

zhu2018 commented Oct 29, 2024

使用脚手架安装后即可复现

版本如下
[email protected]
@umijs/[email protected]
[email protected]
配置如下
mako:{}
qiankun:{slave:{}}

开启构建后会报下面错
AssertionError [ERR_ASSERTION]: chunk of umi not found.
at /Users/admin/Desktop/menu-finance/umi3/node_modules/.pnpm/@[email protected]_wcqkhtmu7mswc6yz4uyexck3ty/node_modules/@umijs/preset-built-in/lib/plugins/commands/htmlUtils.js:104:27
at Array.forEach ()
at chunksToFiles (/Users/admin/Desktop/menu-finance/umi3/node_modules/.pnpm/@[email protected]_wcqkhtmu7mswc6yz4uyexck3ty/node_modules/@umijs/preset-built-in/lib/plugins/commands/htmlUtils.js:93:14)
at /Users/admin/Desktop/menu-finance/umi3/node_modules/.pnpm/@[email protected]_wcqkhtmu7mswc6yz4uyexck3ty/node_modules/@umijs/preset-built-in/lib/plugins/commands/htmlUtils.js:189:32
at Generator.next ()
at asyncGeneratorStep (/Users/admin/Desktop/menu-finance/umi3/node_modules/.pnpm/@[email protected]_wcqkhtmu7mswc6yz4uyexck3ty/node_modules/@umijs/preset-built-in/lib/plugins/commands/htmlUtils.js:62:103)
at _next (/Users/admin/Desktop/menu-finance/umi3/node_modules/.pnpm/@[email protected]_wcqkhtmu7mswc6yz4uyexck3ty/node_modules/@umijs/preset-built-in/lib/plugins/commands/htmlUtils.js:64:194) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: true,
operator: '=='
}

@rendeyuwei
Copy link

+1

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

No branches or pull requests

2 participants