Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Package conflicts on npm install #21

Open
2 tasks done
eladcandroid opened this issue Jun 24, 2022 · 1 comment
Open
2 tasks done

Package conflicts on npm install #21

eladcandroid opened this issue Jun 24, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@eladcandroid
Copy link

Prerequisites

  • I have written a descriptive issue title
  • 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: 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
Copy link
Member

galvez commented Jun 24, 2022

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 galvez added the bug Something isn't working label Jul 10, 2022
@galvez galvez changed the title Installing conflicts - vue template Package conflicts on npm install Jul 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants