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

bug: dumi build --assets 报错 #2057

Closed
LesterWeng opened this issue Mar 25, 2024 · 1 comment
Closed

bug: dumi build --assets 报错 #2057

LesterWeng opened this issue Mar 25, 2024 · 1 comment

Comments

@LesterWeng
Copy link

Version

2.2.14

OS Version

macOS 12.6 Apple M1 Pro

Node.js Version

16.20.1

Browser Version

浏览器无关

Link to minimal reproduction

https://github.com/umijs/dumi/tree/master/examples/normal

Steps to reproduce

dumi build --assets

What is expected?

正常

What is actually happening?

异常,报错

fatal - AssertionError [ERR_ASSERTION]: key title is already registered by undefined, plugin from /usr/local/lib/node_modules/dumi/node_modules/@umijs/preset-dumi/lib/plugins/title.js register failed.

Any additional comments? (optional)

No response

@PeachScript
Copy link
Member

版本混用了吧,@umijs/preset-dumi 是 dumi 1.x 的包,2.x 是没有这个包的

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

No branches or pull requests

2 participants