KABBOUCHI / vue-tippy

VueJS Tooltip powered by Tippy.js
https://vue-tippy.netlify.app
MIT License
726 stars 87 forks source link

ERESOLVE error when trying to install package #251

Closed maxresnikoff closed 2 years ago

maxresnikoff commented 2 years ago

Not sure what is happening here but when trying to install "npm install --save vue-tippy", I get the following error: npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: core@0.1.0 npm ERR! Found: vue@3.2.33 npm ERR! node_modules/vue npm ERR! vue@"^3.2.33" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer vue@"^2.5.9" from vue-tippy@4.13.0 npm ERR! node_modules/vue-tippy npm ERR! vue-tippy@"*" 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! npm ERR! See /Users/maxresnikoff/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/maxresnikoff/.npm/_logs/2022-05-05T10_03_59_578Z-debug.log

Full output log: 0 verbose cli [ 0 verbose cli '/usr/local/bin/node', 0 verbose cli '/usr/local/bin/npm', 0 verbose cli 'install', 0 verbose cli '--save', 0 verbose cli 'vue-tippy' 0 verbose cli ] 1 info using npm@7.23.0 2 info using node@v14.17.6 3 timing npm:load:whichnode Completed in 0ms 4 timing config:load:defaults Completed in 1ms 5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 2ms 6 timing config:load:builtin Completed in 2ms 7 timing config:load:cli Completed in 2ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:/Users/USERNAME/Documents/projects/x/x/.npmrc Completed in 0ms 10 timing config:load:project Completed in 1ms 11 timing config:load:file:/Users/USERNAME/.npmrc Completed in 0ms 12 timing config:load:user Completed in 0ms 13 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms 14 timing config:load:global Completed in 0ms 15 timing config:load:validate Completed in 1ms 16 timing config:load:credentials Completed in 1ms 17 timing config:load:setEnvs Completed in 0ms 18 timing config:load Completed in 8ms 19 timing npm:load:configload Completed in 8ms 20 timing npm:load:setTitle Completed in 19ms 21 timing npm:load:setupLog Completed in 1ms 22 timing config:load:flatten Completed in 2ms 23 timing npm:load:cleanupLog Completed in 2ms 24 timing npm:load:configScope Completed in 0ms 25 timing npm:load:projectScope Completed in 1ms 26 timing npm:load Completed in 35ms 27 timing arborist:ctor Completed in 1ms 28 timing idealTree:init Completed in 1004ms 29 timing idealTree:userRequests Completed in 7ms 30 silly idealTree buildDeps 31 silly fetch manifest vue-tippy@ 32 timing arborist:ctor Completed in 1ms 33 http fetch GET 200 https://registry.npmjs.org/vue-tippy 752ms (cache hit) 34 silly fetch manifest vue@^3.2.33 35 http fetch GET 200 https://registry.npmjs.org/vue 763ms (cache revalidated) 36 silly fetch manifest vue@^2.5.9 37 timing idealTree Completed in 2548ms 38 timing command:install Completed in 2572ms 39 verbose stack Error: unable to resolve dependency tree 39 verbose stack at Arborist.[failPeerConflict] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1327:25) 39 verbose stack at Arborist.[loadPeerSet] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1293:34) 39 verbose stack at async Arborist.[buildDepStep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:906:11) 39 verbose stack at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:210:7) 39 verbose stack at async Promise.all (index 1) 39 verbose stack at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:147:5) 39 verbose stack at async Install.install (/usr/local/lib/node_modules/npm/lib/install.js:169:5) 40 verbose cwd /Users/USERNAME/Documents/projects/x/x 41 verbose Darwin 21.2.0 42 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "vue-tippy" 43 verbose node v14.17.6 44 verbose npm v7.23.0 45 error code ERESOLVE 46 error ERESOLVE unable to resolve dependency tree 47 error 48 error While resolving: core@0.1.0 48 error Found: vue@3.2.33 48 error node_modules/vue 48 error vue@"^3.2.33" from the root project 48 error 48 error Could not resolve dependency: 48 error peer vue@"^2.5.9" from vue-tippy@4.13.0 48 error node_modules/vue-tippy 48 error vue-tippy@"" from the root project 48 error 48 error Fix the upstream dependency conflict, or retry 48 error this command with --force, or --legacy-peer-deps 48 error to accept an incorrect (and potentially broken) dependency resolution. 48 error 48 error See /Users/USERNAME/.npm/eresolve-report.txt for a full report. 49 verbose exit 1

Granted I am not an expert on NPM or how to fully read and understand the errors, so any help would be much appreciated

Running Vue 3.2.33 and NPM 7.23.0

KABBOUCHI commented 2 years ago

plz use the next tag for vue 3 support npm install vue-tippy@next

maxresnikoff commented 2 years ago

Thanks, didn't see that @next was an option anywhere

KABBOUCHI commented 2 years ago

make sure u are using the new docs https://vue-tippy.netlify.app/installation