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]: 前端编译错误 #670

Open
AntarcticPresident opened this issue Jan 5, 2025 · 1 comment
Open

[Bug]: 前端编译错误 #670

AntarcticPresident opened this issue Jan 5, 2025 · 1 comment
Assignees

Comments

@AntarcticPresident
Copy link

Contact Details

f

This bug is related to UI or API?

No response

What happened?

While resolving: @wangeditor/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vue
npm ERR! vue@"2.6.11" from the root project
npm ERR! peer vue@">=2.5.0" from @ant-design/[email protected]
npm ERR! node_modules/@ant-design/icons-vue
npm ERR! @ant-design/icons-vue@"^2.0.0" from [email protected]
npm ERR! node_modules/ant-design-vue
npm ERR! ant-design-vue@"^1.6.5" from the root project
npm ERR! 15 more (@riophae/vue-treeselect, @vue/babel-preset-app, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^2.6.14" from @wangeditor/[email protected]
npm ERR! node_modules/@wangeditor/editor-for-vue
npm ERR! @wangeditor/editor-for-vue@"^1.0.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/vue
npm ERR! peer vue@"^2.6.14" from @wangeditor/[email protected]
npm ERR! node_modules/@wangeditor/editor-for-vue
npm ERR! @wangeditor/editor-for-vue@"^1.0.0" from the root project

这是从github上拉下来的代码进行安装编译,这个package.json确定没有问题吗?还是说,npm install不行,必须要换成yarn?

Version

newest

What browsers are you seeing the problem on?

No response

Relevant log output

No response

@AntarcticPresident
Copy link
Author

我需要调几个版本才可以

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