fastify / fastify-dx

Archived
903 stars 43 forks source link

Package conflicts on npm install #21

Open eladcandroid opened 2 years ago

eladcandroid commented 2 years ago

Prerequisites

Fastify version

3.0.0-beta.23

Plugin version

No response

Node.js version

16.13.0

Operating system

macOS

Operating system version (i.e. 20.04, 11.3, 10)

12.2

Description

Getting npm install conflicts using the default vue template

Steps to Reproduce

npx degit fastify/fastify-dx/starters/vue
npm i
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.25" from @vitejs/plugin-vue@2.3.3
npm ERR!   node_modules/@vitejs/plugin-vue
npm ERR!     dev @vitejs/plugin-vue@"^2.3.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! @vueuse/core@"^8.7.4" 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 < 3" from @vue/composition-api@1.6.2
npm ERR!   node_modules/@vue/composition-api
npm ERR!     peerOptional @vue/composition-api@"^1.1.0" from @vueuse/core@8.7.5
npm ERR!     node_modules/@vueuse/core
npm ERR!       @vueuse/core@"^8.7.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! 

Expected Behavior

No response

galvez commented 2 years ago

Hey, thanks for the report. For now I think you can probably fix by running npm i with -f, but I'll get this fixed.