cmudig / falcon-vis

Cross-filter millions (or even billions) of data entries with no interaction delay
https://dig.cmu.edu/falcon-vis/
BSD 3-Clause "New" or "Revised" License
95 stars 2 forks source link

Dependency Issue #184

Closed jwilber closed 1 year ago

jwilber commented 1 year ago

FYI - looks like a dependency issue occurs between the version of apache-arrow that falcon-vis wants and what heavyai wants:

(base) ➜  falcon-vis git:(main) npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: falcon-vis@0.17.4
npm ERR! Found: apache-arrow@12.0.0
npm ERR! node_modules/apache-arrow
npm ERR!   apache-arrow@"^12.0.0" from falcon-vis@0.17.4
npm ERR!   falcon-vis
npm ERR!     falcon-vis@0.17.4
npm ERR!     node_modules/falcon-vis
npm ERR!       workspace falcon-vis from the root project
npm ERR!       8 more (crossfilter-heavyai, crossfilter-duckdb, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer apache-arrow@"^7.0.0" from @heavyai/connector@7.0.0
npm ERR! node_modules/@heavyai/connector
npm ERR!   @heavyai/connector@"^7.0.0" from falcon-vis@0.17.4
npm ERR!   falcon-vis
npm ERR!     falcon-vis@0.17.4
npm ERR!     node_modules/falcon-vis
npm ERR!       workspace falcon-vis from the root project
npm ERR!       8 more (crossfilter-heavyai, crossfilter-duckdb, ...)
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!

(For anyone else with this issue, the simple fix for now is to install via npm install --legacy-peer-deps)

xnought commented 1 year ago

Thank you @jwilber! I'll look into it!

xnought commented 1 year ago

aha I've been using yarn since the whole repo is designed as a Yarn Workspace which only gives this as a warning and not an error like npm.

xnought commented 1 year ago

weird

jwilber commented 1 year ago

Haha, well if nothing else, npm install --legacy-peer-deps will work for the npm crowd 🤷