Deck.gl Versioning Issue
See original GitHub issueDescribe the bug
The deck.gl
version is set to ^7.1.5
in the package.json
, and the lockfile specifies 7.1.5
. So, when cloning and running this repository as-is, everything works properly. However, when using yarn add kepler.gl
in an external project, deck.gl@7.2.1
is installed. This leads to the following error upon attempting to load data (occurs within deck.gl
):
Uncaught TypeError: Cannot assign to read only property 'mousePosition' of object '[object Object]'
To Reproduce This can be simulated in this repository by removing the lockfile:
- Clone repo, navigate into directory
rm yarn.lock
yarn --ignore-engines
yarn start
- Go to web browser, attempt to load a dataset
- See error in console
Expected behavior
package.json
should target only compatible versions of deck.gl
, allowing for yarn add
to external projects.
Desktop (please complete the following information):
- OS: macOS Mojave
- Browser: N/A
- Version: 1.1.3
- Yarn Version: 1.15.2
- Node Version: 11.14.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Upgrade Guide - deck.gl
Upgrade Guide. Upgrading from deck.gl v8.7 to v8.8. Breaking changes. In order to generalize the TileLayer to work with non-OSM indexing systems, ...
Read more >deck.gl - npm
A suite of 3D-enabled data visualization overlays, suitable for react-map-gl. Latest version: 8.8.20, last published: a month ago.
Read more >deck.gl - npm Package Health Analysis - Snyk
Learn more about deck.gl: package health score, popularity, security, ... Security and license risk for significant versions ... Open Issues: 169.
Read more >issue requiring nebula.gl - The Observable Forum
Hi, I'm having an issue requiring the library nebula.gl in the notebook I ... Error: deck.gl - multiple versions detected: 8.0.17 vs 8.3.7....
Read more >Introducing deck.gl v4.0. by Ib Green | by vis.gl - Medium
We take backwards compatibility of deck.gl very seriously. deck.gl follows semver versioning rules, which require that any change to existing functionality, no ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We will lock it to 7.1.5 in kepler.gl.
For those looking for a fix in the meantime, you can add the following to your
package.json
:and then re-run
yarn install
(note thatnpm
does not supportresolutions
, so you must be usingyarn
)