-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
vue upgrade更新vue cli报错 #762
Comments
你为啥要更新呢,你更新这一个依赖包会打破原来的依赖链的呀 |
😂好吧,我知道,但是不更新看着有点难受,好多提示
| |
***@***.***
|
|
***@***.***
|
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2023年05月29日 19:32 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [PanJiaChen/vue-admin-template] vue upgrade更新vue cli报错 (Issue #762) |
你为啥要更新呢,你更新这一个依赖包会打破原来的依赖链的呀
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
这个项目版本都太老了,现在安装依赖各种报错,警告 |
看作者上面的回复😂
| |
***@***.***
|
|
***@***.***
|
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2023年06月08日 21:34 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [PanJiaChen/vue-admin-template] vue upgrade更新vue cli报错 (Issue #762) |
这个项目版本都太老了,现在安装依赖各种报错,警告
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
上面那个看起来不是作者啊,没任何标识... 我跟你还不一样,我是刚刚clone,也没想着升级啥,就是clone后直接npm i,然后就各种报错 项目里也没有个package-lock.json |
哈哈,那个就是作者的😂这项目确实很老了,没有package-lock.json没太大影响,package.json是一点不能动,一动基本就会报错,所以咱们还是将就这用吧(要更新就要找各种包对应的关系,所以还是😂)。我之前好像看到有个简化版本(简化了的话更新应该比较方便)
| |
***@***.***
|
|
***@***.***
|
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2023年06月09日 08:50 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [PanJiaChen/vue-admin-template] vue upgrade更新vue cli报错 (Issue #762) |
上面那个看起来不是作者啊,没任何标识...
我跟你还不一样,我是刚刚clone,也没想着升级啥,就是clone后直接npm i,然后就各种报错
项目里也没有个package-lock.json
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
报错信息如下:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @vue/[email protected]
npm ERR! Found: @vue/[email protected]
npm ERR! node_modules/@vue/cli-service
npm ERR! peer @vue/cli-service@"^3.0.0 || ^4.0.0 || ^5.0.0-0" from @vue/[email protected]
npm ERR! node_modules/@vue/cli-plugin-router
npm ERR! @vue/cli-plugin-router@"^5.0.8" from @vue/[email protected]
npm ERR! peer @vue/cli-service@"^3.0.0 || ^4.0.0 || ^5.0.0-0" from @vue/[email protected]
npm ERR! node_modules/@vue/cli-plugin-vuex
npm ERR! @vue/cli-plugin-vuex@"^5.0.8" from @vue/[email protected]
npm ERR! 2 more (the root project, @vue/cli-plugin-babel)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @vue/cli-service@"^3.0.0 || ^4.0.0-0" from @vue/[email protected]
npm ERR! node_modules/@vue/cli-plugin-eslint
npm ERR! dev @vue/cli-plugin-eslint@"4.4.4" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @vue/[email protected]
npm ERR! node_modules/@vue/cli-service
npm ERR! peer @vue/cli-service@"^3.0.0 || ^4.0.0-0" from @vue/[email protected]
npm ERR! node_modules/@vue/cli-plugin-eslint
npm ERR! dev @vue/cli-plugin-eslint@"4.4.4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\CaoMao\AppData\Local\npm-cache_logs\2023-04-15T11_36_53_088Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\CaoMao\AppData\Local\npm-cache_logs\2023-04-15T11_36_53_088Z-debug-0.log
ERROR Error: command failed: npm install --loglevel error @vue/cli-plugin-babel@~5.0.8
有大佬知道这是怎么回事吗
The text was updated successfully, but these errors were encountered: