alexcode / vue2vis

A Vuejs 2 adapter for Visjs
MIT License
217 stars 59 forks source link

How to install Vue2vis on a macbook pro. #84

Open erlebach opened 3 years ago

erlebach commented 3 years ago

I cloned Vue2Vis and executed the command npm install --save @vue2vis/graph2d vis-data moment as stipulated in the packages/graph2d/README.md file. Here is the result:

npm install --save @vue2vis/graph2d vis-data moment
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @vue2vis/graph2d@1.0.1-alpha.0
npm ERR! Found: uuid@7.0.3
npm ERR! node_modules/uuid
npm ERR!   dev uuid@"^7.0.0" from @vue2vis/graph2d@1.0.1-alpha.0
npm ERR!   packages/graph2d
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer uuid@"^3.4.0" from vis-timeline@7.3.4
npm ERR! node_modules/vis-timeline
npm ERR!   vis-timeline@"^7.3.4" from @vue2vis/graph2d@1.0.1-alpha.0
npm ERR!   packages/graph2d
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/erlebach/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/erlebach/.npm/_logs/2021-06-21T22_11_11_109Z-debug.log

I thought this procedure was foolproof! :-) Does anybody have any insight to help me out? Thanks.