visgl / deck.gl

WebGL2 powered visualization framework
https://deck.gl
MIT License
12.23k stars 2.08k forks source link

Leaflet example build errors #9090

Open dgmurphy opened 2 months ago

dgmurphy commented 2 months ago

Description

In the examples/get-started/pure-js/leaflet project npm install fails with dependency errors.

Flavors

Expected Behavior

Build success (the other example projects are working fine).

Steps to Reproduce

In the examples/get-started/pure-js/leaflet run npm install.

Environment

Logs

npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! While resolving: deckgl-example-pure-js-leaflet@0.0.0 npm ERR! Found: @deck.gl/core@9.0.27 npm ERR! node_modules/@deck.gl/core npm ERR! @deck.gl/core@"^9.0.0" from the root project npm ERR! Could not resolve dependency: npm ERR! peer @deck.gl/core@"^8.5.0" from deck.gl-leaflet@1.2.1 npm ERR! node_modules/deck.gl-leaflet npm ERR! deck.gl-leaflet@"^1.1.1" from the root project

zakjan commented 1 month ago

Hi @dgmurphy, thanks for finding out. I'll fix deck.gl-leaflet issues in https://github.com/zakjan/deck.gl-leaflet/issues/13. It's about time.

zakjan commented 1 month ago

@Pessimistress deck.gl-leaflet 1.3.0 (upgraded to deck.gl 9, TS, ESM) has been released, can you try it out here?

dgmurphy commented 1 month ago

Works - thanks!