Skip to content

[Bug Report][3.0.0-beta.5] Version conflict in beta installation instructions #331

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

Closed
colearendt opened this issue Jul 29, 2022 · 2 comments

Comments

@colearendt
Copy link

Environment

Vuetify Version: 3.0.0-beta.5
Last working version: 3.0.0-beta.5
Vue Version: 3.2.37
Browsers: Chrome 102.0.5005.61
OS: Mac OS 10.15.7

Steps to reproduce

Follow the directions https://next.vuetifyjs.com/en/getting-started/installation/

Expected Behavior

No version conflict

Actual Behavior

npm requires --legacy-peer-deps flag to function

Reproduction Link

https://github.com/colearendt/js-issue-20220728

Other comments

node --version
v16.15.1
npm --version
8.11.0

Warning:

WARN  conflicting versions for project dependency "@vitejs/plugin-vue":

       - ^3.0.0 injected by generator "undefined"
       - ^2.0.0 injected by generator "vue-cli-plugin-vuetify"

       Using newer version (^3.0.0), but this may cause build errors.
 WARN  conflicting versions for project dependency "vite":

       - ^3.0.0 injected by generator "undefined"
       - ^2.0.0 injected by generator "vue-cli-plugin-vuetify"

       Using newer version (^3.0.0), but this may cause build errors.

Error on npm usage afterwards:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vite-plugin-vuetify
npm ERR!   dev vite-plugin-vuetify@"^1.0.0-alpha.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional vite-plugin-vuetify@"1.0.0-alpha.12" from [email protected]
npm ERR! node_modules/vuetify
npm ERR!   vuetify@"^3.0.0-beta.0" from the root project
npm ERR!   peer vuetify@"^3.0.0-beta.4" from @vuetify/[email protected]
npm ERR!   node_modules/@vuetify/loader-shared
npm ERR!     @vuetify/loader-shared@"^1.5.1" from [email protected]
npm ERR!     node_modules/vite-plugin-vuetify
npm ERR!       dev vite-plugin-vuetify@"^1.0.0-alpha.0" from the root project
npm ERR!   1 more (vite-plugin-vuetify)
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/vite
npm ERR!   peer vite@"^2.7.0" from [email protected]
npm ERR!   node_modules/vite-plugin-vuetify
npm ERR!     peerOptional vite-plugin-vuetify@"1.0.0-alpha.12" from [email protected]
npm ERR!     node_modules/vuetify
npm ERR!       vuetify@"^3.0.0-beta.0" from the root project
npm ERR!       2 more (@vuetify/loader-shared, vite-plugin-vuetify)
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! See /Users/colearendt/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/colearendt/.npm/_logs/2022-07-29T01_34_36_087Z-debug-0.log
@colearendt
Copy link
Author

Maybe related? vuetifyjs/vuetify-loader#261

@KaelWD KaelWD transferred this issue from vuetifyjs/vuetify Jul 29, 2022
@KaelWD
Copy link
Member

KaelWD commented Jul 29, 2022

Duplicate of #328

@KaelWD KaelWD marked this as a duplicate of #328 Jul 29, 2022
@KaelWD KaelWD closed this as not planned Won't fix, can't repro, duplicate, stale Jul 29, 2022
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