fastify-dx icon indicating copy to clipboard operation
fastify-dx copied to clipboard

Package conflicts on npm install

Open eladcandroid opened this issue 2 years ago • 1 comments

Prerequisites

  • [X] I have written a descriptive issue title
  • [X] I have searched existing issues to ensure the bug has not already been reported

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: [email protected]
npm ERR! node_modules/vue
npm ERR!   peer vue@"^3.2.25" from @vitejs/[email protected]
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: [email protected]
npm ERR! node_modules/vue
npm ERR!   peer vue@">= 2.5 < 3" from @vue/[email protected]
npm ERR!   node_modules/@vue/composition-api
npm ERR!     peerOptional @vue/composition-api@"^1.1.0" from @vueuse/[email protected]
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

eladcandroid avatar Jun 24 '22 06:06 eladcandroid

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.

galvez avatar Jun 24 '22 12:06 galvez