kepler.gl icon indicating copy to clipboard operation
kepler.gl copied to clipboard

[Bug] Error: deck.gl - multiple versions detected: 8.2.0 vs 8.5.7

Open punov opened this issue 3 years ago • 3 comments

Describe the bug CI gets broken with the latest Kepler, if project got a dependency on higher versions of Deck.GL library: image

To Reproduce 0. Pre-requisite: project is dependant on latest kepler updates, i.e. "kepler.gl": "^2.5.4",

  1. To reproduce, add a dependency on higher version of deck.gl to your package.json, for example: "deck.gl": "8.5.7"
  2. Remove node_modules folder
  3. Run npm install
  4. Execute your project and open the Map instance using Kepler and Deck together

Expected behavior No versions conflict, Kepler allows to use fresh features of Deck, such as tile optimisations and traversals, lots of latest binary calcs and tools

Additional context Issue can be fixed by pinning the Kepler's version 2.5.4 as: "kepler.gl": "2.5.4"

But we still want to get the freshest Kepler's feature since we love the project.

punov avatar Sep 14 '21 07:09 punov

I am having the same issue, any fix yet?

SushantKumar29 avatar Jun 15 '22 05:06 SushantKumar29

same issue, how can we know which versions are compatible?

sammyaxe avatar Aug 24 '22 14:08 sammyaxe

Unfortunately, since kepler.gl is a power user of deck.gl, making kepler.gl work with latest version of deck.gl often requires a non-trivial amount of testing and usually some debugging and fixing. The contributors are currently overloaded with other work (typescript migration, bug fixes, prep work for enabling more customization / new features etc) and of late have not been able to prioritize upgrading kepler.gl to latest deck.gl.

how can we know which versions are compatible?

It is probably only completely safe to assume that the versions that are listed in the kepler.gl top-level package.json will work.

Contributions in this area (e.g. deck.gl upgrades) would be most welcome. Percentage of the users of kepler.gl that contribute is unfortunately quite low compared to other vis.gl projects like deck.gl.

ibgreen avatar Aug 26 '22 12:08 ibgreen

I am having the same issue, any fix yet? In my case, the settings suggested by @punov solved the problems.

anhp95 avatar Jan 20 '23 12:01 anhp95