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

npm install failing #5

Closed
ZiadJ opened this issue Sep 8, 2022 · 1 comment
Closed

npm install failing #5

ZiadJ opened this issue Sep 8, 2022 · 1 comment

Comments

@ZiadJ
Copy link

ZiadJ commented Sep 8, 2022

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: vue@3.2.37
npm ERR! node_modules/vue
npm ERR!   peer vue@"^3.2.37" from @nuxt/vite-builder@3.0.0-rc.4
npm ERR!   node_modules/@nuxt/vite-builder
npm ERR!     @nuxt/vite-builder@"^3.0.0-rc.4" from nuxt@3.0.0-rc.4
npm ERR!     node_modules/nuxt
npm ERR!       dev nuxt@"3.0.0-rc.4" from the root project
npm ERR!   peer vue@"^3.2.25" from @vitejs/plugin-vue@2.3.3
npm ERR!   node_modules/@vitejs/plugin-vue
npm ERR!     @vitejs/plugin-vue@"^2.3.3" from @nuxt/vite-builder@3.0.0-rc.4
npm ERR!     node_modules/@nuxt/vite-builder
npm ERR!       @nuxt/vite-builder@"^3.0.0-rc.4" from nuxt@3.0.0-rc.4
npm ERR!       node_modules/nuxt
npm ERR!         dev nuxt@"3.0.0-rc.4" from the root project
npm ERR!   4 more (@vue/server-renderer, @vueuse/head, nuxt, vue-router)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! @vueuse/core@"^8.9.3" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: vue@2.6.14
npm ERR! node_modules/vue
npm ERR!   peer vue@">= 2.5 < 2.7" from @vue/composition-api@1.7.0
npm ERR!   node_modules/@vue/composition-api
npm ERR!     peerOptional @vue/composition-api@"^1.1.0" from @vueuse/core@8.9.4
npm ERR!     node_modules/@vueuse/core
npm ERR!       @vueuse/core@"^8.9.3" 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.
@ZiadJ
Copy link
Author

ZiadJ commented Sep 8, 2022

Updating the package versions, reinstalling after deleting node_modules, and installing Node v116.17 fixed it

@ZiadJ ZiadJ closed this as completed Sep 8, 2022
@nopeless nopeless mentioned this issue Dec 1, 2022
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

1 participant