Error importing deck.gl from esm.sh #8749
-
I'm importing deck.gl into the front-end of an anywidget Jupyter Widget like this
This works on a Google Colab notebook and on a local Jupyter notebook/lab on my macbook, but I am seeing this error when I try to get it to work on a Terra.bio Jupyter notebook:
Then if I re-run the cell I see a new error
This issues might be related to this issue with hammer.js manzt/anywidget#369 Any help would be greatly appreciated :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm guessing it's the same issue here https://github.com/visgl/deck.gl/blob/9.0-release/scripts/postinstall.sh Hammerjs has not been updated for years and we really need to either fork it or move on to something else. I am not familiar with this service you are using. Is it possible to use the pre-bundles version instead? https://deck.gl/docs/get-started/using-standalone#using-the-scripting-api |
Beta Was this translation helpful? Give feedback.
I'm guessing it's the same issue here
https://github.com/visgl/deck.gl/blob/9.0-release/scripts/postinstall.sh
Hammerjs has not been updated for years and we really need to either fork it or move on to something else.
I am not familiar with this service you are using. Is it possible to use the pre-bundles version instead?
https://deck.gl/docs/get-started/using-standalone#using-the-scripting-api