keplergl / kepler.gl

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
http://kepler.gl
MIT License
10.44k stars 1.75k forks source link

[Bug][Jupyter Widget] Plugin 'keplergl-jupyter' failed to activate #1565

Open jrs53 opened 3 years ago

jrs53 commented 3 years ago

Describe the bug JupyterLab browser console reports

"Plugin 'keplergl-jupyter' failed to activate." "Error: No provider for: jupyter.extensions.jupyterWidgetRegistry."

Trying to instantiate widget gives "Error displaying widget: model not found" in the notebook "Error: Module keplergl-jupyter, semver range ^0.3.0 is not registered as a widget module" in the console

To Reproduce 1) conda create -n jupyterlab-kepler python 2) pip install jupyterlab keplergl 3) conda install nodejs 4) jupyter labextension install @jupyter-widgets/jupyterlab-manager keplergl-jupyter 5) jupyter lab 6) Use basic Python code from doc site

Expected behavior Widget appears and is usable

Environment (please complete the following information): Python 3.9.5 keplergl widget version 0,3.0

jrs53 commented 3 years ago

(works fine in classic notebook)

jrs53 commented 3 years ago
(jupyterlab-kepler) jrs53@slice:~$ jupyter labextension install keplergl-jupyter --debug
Searching ['/home/jrs53', '/home/jrs53/.jupyter', '/home/jrs53/anaconda3/envs/jupyterlab-kepler/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
Looking for jupyter_config in /etc/jupyter
Looking for jupyter_config in /usr/local/etc/jupyter
Looking for jupyter_config in /home/jrs53/anaconda3/envs/jupyterlab-kepler/etc/jupyter
Looking for jupyter_config in /home/jrs53/.jupyter
Looking for jupyter_config in /home/jrs53
Looking for lab_config in /etc/jupyter
Looking for lab_config in /usr/local/etc/jupyter
Looking for lab_config in /home/jrs53/anaconda3/envs/jupyterlab-kepler/etc/jupyter
Looking for lab_config in /home/jrs53/.jupyter
Looking for lab_config in /home/jrs53
Node v14.8.0

Yarn configuration loaded.
> /home/jrs53/anaconda3/envs/jupyterlab-kepler/bin/npm pack keplergl-jupyter
|npm notice
npm notice ??  keplergl-jupyter@0.3.0
npm notice === Tarball Contents ===
npm notice 9.7kB babel/keplergl/components/app.js
npm notice 5.2kB lib/keplergl/components/app.js
npm notice 7.0kB babel/keplergl/components/config-panel.js
npm notice 3.6kB lib/keplergl/components/config-panel.js
npm notice 1.6kB babel/embed.js
npm notice 1.6kB lib/embed.js
npm notice 2.0kB babel/extension.js
npm notice 2.0kB lib/extension.js
npm notice 1.3kB babel/index.js
npm notice 6.2MB dist/index.js
npm notice 1.3kB lib/index.js
npm notice 7.4kB babel/keplergl/kepler.gl.js
npm notice 6.1kB lib/keplergl/kepler.gl.js
npm notice 4.6kB babel/keplergl-plugin.js
npm notice 2.6kB lib/keplergl-plugin.js
npm notice 1.5kB babel/labplugin.js
npm notice 1.5kB lib/labplugin.js
npm notice 1.6kB babel/log.js
npm notice 1.3kB lib/log.js
npm notice 2.4kB babel/keplergl/main.js
npm notice 2.0kB lib/keplergl/main.js
npm notice 1.8kB babel/keplergl/components/panel-header.js
npm notice 2.0kB lib/keplergl/components/panel-header.js
npm notice 2.0kB babel/keplergl/components/root.js
npm notice 1.4kB lib/keplergl/components/root.js
npm notice 1.6kB babel/keplergl/components/side-bar.js
npm notice 2.0kB lib/keplergl/components/side-bar.js
npm notice 2.8kB babel/keplergl/store.js
npm notice 2.4kB lib/keplergl/store.js
npm notice 2.8kB babel/keplergl/utils.js
npm notice 3.0kB lib/keplergl/utils.js
npm notice 2.7kB package.json
npm notice 3.0kB README.md
npm notice === Tarball Details ===
npm notice name:          keplergl-jupyter
npm notice version:       0.3.0
npm notice filename:      keplergl-jupyter-0.3.0.tgz
npm notice package size:  1.7 MB
npm notice unpacked size: 6.3 MB
npm notice shasum:        c380fb56c717c057381951e70bb337d6d2c38296
npm notice integrity:     sha512-lyZQOXwW5Yd2R[...]PvbO6klrQJ3Pg==
npm notice total files:   33
npm notice
keplergl-jupyter-0.3.0.tgz

Node v14.8.0

Yarn configuration loaded.
Building jupyterlab assets (production, minimized)
> node /home/jrs53/anaconda3/envs/jupyterlab-kepler/lib/python3.9/site-packages/jupyterlab/staging/yarn.js install --non-interactive
\yarn install v1.21.1
[1/5] Validating package.json...
[2/5] Resolving packages...
warning keplergl-jupyter > react-intl > @formatjs/intl-unified-numberformat@3.3.7: We have renamed the package to @formatjs/intl-numberformat
warning keplergl-jupyter > react-intl > intl-messageformat-parser@3.6.4: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
warning keplergl-jupyter > react-intl > intl-messageformat-parser > @formatjs/intl-unified-numberformat@3.3.7: We have renamed the package to @formatjs/intl-numberformat
warning keplergl-jupyter > react-intl > intl-messageformat > intl-messageformat-parser@3.6.4: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
warning keplergl-jupyter > kepler.gl > react-vis > hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning keplergl-jupyter > kepler.gl > @loaders.gl/polyfills > get-pixels > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning keplergl-jupyter > kepler.gl > react-palm > react-reconciler > fbjs > core-js@1.2.7: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
[3/5] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning "@jupyterlab/extensionmanager > react-paginate@6.5.0" has incorrect peer dependency "react@^16.0.0".
warning "@jupyterlab/json-extension > react-highlighter@0.4.3" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "@jupyterlab/json-extension > react-json-tree@0.15.0" has unmet peer dependency "@types/react@^16.3.0 || ^17.0.0".
warning "@jupyterlab/vdom > @nteract/transform-vdom@4.0.16-alpha.0" has incorrect peer dependency "react@^16.3.2".
warning " > @lumino/coreutils@1.8.0" has unmet peer dependency "crypto@1.0.1".
warning "keplergl-jupyter > react-helmet > react-side-effect@1.2.0" has incorrect peer dependency "react@^0.13.0 || ^0.14.0 || ^15.0.0 || ^16.0.0".
warning "keplergl-jupyter > react-intl@3.12.1" has incorrect peer dependency "react@^16.3.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/extensions@8.5.0" has unmet peer dependency "gl-matrix@^3.0.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers@8.5.0" has incorrect peer dependency "@loaders.gl/core@^3.0.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/layers@8.5.0" has incorrect peer dependency "@loaders.gl/core@^3.0.0".
warning "keplergl-jupyter > kepler.gl > react-map-gl-draw@0.14.8" has incorrect peer dependency "react@0.14.x - 16.x".
warning "keplergl-jupyter > kepler.gl > react-map-gl-draw@0.14.8" has incorrect peer dependency "react-dom@0.14.x - 16.x".
warning "keplergl-jupyter > kepler.gl > react-palm@3.3.7" has unmet peer dependency "enzyme@^3.6.0".
warning "keplergl-jupyter > kepler.gl > react-palm@3.3.7" has unmet peer dependency "enzyme-adapter-utils@^1.13.0".
warning "keplergl-jupyter > kepler.gl > react-palm@3.3.7" has incorrect peer dependency "react@^16.4.1".
warning "keplergl-jupyter > kepler.gl > react-palm@3.3.7" has unmet peer dependency "react-test-renderer@^16.4.1".
warning "keplergl-jupyter > kepler.gl > react-markdown@5.0.3" has unmet peer dependency "@types/react@>=16".
warning "keplergl-jupyter > kepler.gl > react-sortable-hoc@1.11.0" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "keplergl-jupyter > kepler.gl > react-sortable-hoc@1.11.0" has incorrect peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "keplergl-jupyter > kepler.gl > react-vis@1.11.7" has incorrect peer dependency "react@15.3.0 - 16.x".
warning "keplergl-jupyter > kepler.gl > react-virtualized@9.22.3" has incorrect peer dependency "react@^15.3.0 || ^16.0.0-alpha".
warning "keplergl-jupyter > kepler.gl > react-virtualized@9.22.3" has incorrect peer dependency "react-dom@^15.3.0 || ^16.0.0-alpha".
warning "keplergl-jupyter > kepler.gl > typedoc@0.19.2" has unmet peer dependency "typescript@3.9.x || 4.0.x".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers > @luma.gl/experimental@8.5.4" has incorrect peer dependency "@loaders.gl/gltf@^3.0.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers > @luma.gl/experimental@8.5.4" has unmet peer dependency "@loaders.gl/images@^3.0.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers > @luma.gl/experimental@8.5.4" has unmet peer dependency "@luma.gl/engine@^8.4.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers > @luma.gl/experimental@8.5.4" has unmet peer dependency "@luma.gl/gltools@^8.4.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers > @luma.gl/experimental@8.5.4" has unmet peer dependency "@luma.gl/shadertools@^8.4.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers > @luma.gl/experimental@8.5.4" has unmet peer dependency "@luma.gl/webgl@^8.4.0".
warning "keplergl-jupyter > kepler.gl > react-vis > react-motion@0.5.2" has incorrect peer dependency "react@^0.14.9 || ^15.3.0 || ^16.0.0".
warning "keplergl-jupyter > kepler.gl > react-palm > react-test-renderer@16.14.0" has incorrect peer dependency "react@^16.14.0".
warning "keplergl-jupyter > kepler.gl > react-palm > react-reconciler@0.12.0" has incorrect peer dependency "react@^16.0.0".
warning "@jupyterlab/builder > @jupyterlab/buildutils > verdaccio > clipanion@3.0.0" has unmet peer dependency "typanion@*".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[5/5] Building fresh packages...
success Saved lockfile.
Done in 81.62s.

> node /home/jrs53/anaconda3/envs/jupyterlab-kepler/lib/python3.9/site-packages/jupyterlab/staging/yarn.js yarn-deduplicate -s fewer --fail
\yarn run v1.21.1
$ /home/jrs53/anaconda3/envs/jupyterlab-kepler/share/jupyter/lab/staging/node_modules/.bin/yarn-deduplicate -s fewer --fail
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

> node /home/jrs53/anaconda3/envs/jupyterlab-kepler/lib/python3.9/site-packages/jupyterlab/staging/yarn.js
\yarn install v1.21.1
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning "@jupyterlab/extensionmanager > react-paginate@6.5.0" has incorrect peer dependency "react@^16.0.0".
warning "@jupyterlab/json-extension > react-highlighter@0.4.3" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "@jupyterlab/json-extension > react-json-tree@0.15.0" has unmet peer dependency "@types/react@^16.3.0 || ^17.0.0".
warning "@jupyterlab/vdom > @nteract/transform-vdom@4.0.16-alpha.0" has incorrect peer dependency "react@^16.3.2".
warning " > @lumino/coreutils@1.8.0" has unmet peer dependency "crypto@1.0.1".
warning "keplergl-jupyter > react-intl@3.12.1" has incorrect peer dependency "react@^16.3.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/extensions@8.5.0" has unmet peer dependency "gl-matrix@^3.0.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers@8.5.0" has incorrect peer dependency "@loaders.gl/core@^3.0.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/layers@8.5.0" has incorrect peer dependency "@loaders.gl/core@^3.0.0".
warning "keplergl-jupyter > kepler.gl > react-map-gl-draw@0.14.8" has incorrect peer dependency "react@0.14.x - 16.x".
warning "keplergl-jupyter > kepler.gl > react-map-gl-draw@0.14.8" has incorrect peer dependency "react-dom@0.14.x - 16.x".
warning "keplergl-jupyter > kepler.gl > react-markdown@5.0.3" has unmet peer dependency "@types/react@>=16".
warning "keplergl-jupyter > kepler.gl > react-palm@3.3.7" has unmet peer dependency "enzyme@^3.6.0".
warning "keplergl-jupyter > kepler.gl > react-palm@3.3.7" has unmet peer dependency "enzyme-adapter-utils@^1.13.0".
warning "keplergl-jupyter > kepler.gl > react-palm@3.3.7" has incorrect peer dependency "react@^16.4.1".
warning "keplergl-jupyter > kepler.gl > react-palm@3.3.7" has unmet peer dependency "react-test-renderer@^16.4.1".
warning "keplergl-jupyter > kepler.gl > react-sortable-hoc@1.11.0" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "keplergl-jupyter > kepler.gl > react-sortable-hoc@1.11.0" has incorrect peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "keplergl-jupyter > kepler.gl > react-virtualized@9.22.3" has incorrect peer dependency "react@^15.3.0 || ^16.0.0-alpha".
warning "keplergl-jupyter > kepler.gl > react-virtualized@9.22.3" has incorrect peer dependency "react-dom@^15.3.0 || ^16.0.0-alpha".
warning "keplergl-jupyter > kepler.gl > react-vis@1.11.7" has incorrect peer dependency "react@15.3.0 - 16.x".
warning "keplergl-jupyter > kepler.gl > typedoc@0.19.2" has unmet peer dependency "typescript@3.9.x || 4.0.x".
warning "keplergl-jupyter > react-helmet > react-side-effect@1.2.0" has incorrect peer dependency "react@^0.13.0 || ^0.14.0 || ^15.0.0 || ^16.0.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers > @luma.gl/experimental@8.5.4" has incorrect peer dependency "@loaders.gl/gltf@^3.0.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers > @luma.gl/experimental@8.5.4" has unmet peer dependency "@loaders.gl/images@^3.0.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers > @luma.gl/experimental@8.5.4" has unmet peer dependency "@luma.gl/engine@^8.4.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers > @luma.gl/experimental@8.5.4" has unmet peer dependency "@luma.gl/gltools@^8.4.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers > @luma.gl/experimental@8.5.4" has unmet peer dependency "@luma.gl/shadertools@^8.4.0".
warning "keplergl-jupyter > kepler.gl > @deck.gl/geo-layers > @luma.gl/experimental@8.5.4" has unmet peer dependency "@luma.gl/webgl@^8.4.0".
warning "keplergl-jupyter > kepler.gl > react-palm > react-reconciler@0.12.0" has incorrect peer dependency "react@^16.0.0".
warning "keplergl-jupyter > kepler.gl > react-palm > react-test-renderer@16.14.0" has incorrect peer dependency "react@^16.14.0".
warning "keplergl-jupyter > kepler.gl > react-vis > react-motion@0.5.2" has incorrect peer dependency "react@^0.14.9 || ^15.3.0 || ^16.0.0".
warning "@jupyterlab/builder > @jupyterlab/buildutils > verdaccio > clipanion@3.0.0" has unmet peer dependency "typanion@*".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[5/5] Building fresh packages...
success Saved lockfile.
Done in 17.09s.

> node /home/jrs53/anaconda3/envs/jupyterlab-kepler/lib/python3.9/site-packages/jupyterlab/staging/yarn.js run build:prod:minimize
\yarn run v1.21.1
$ webpack --config webpack.prod.minimize.config.js
(node:19978) [DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API
(Use `node --trace-deprecation ...` to show where the warning was created)
assets by info 13.7 MiB [immutable]
  assets by chunk 10.7 MiB (id hint: vendors)
    assets by status 8.6 MiB [big] 7 assets
assets by chunk 2.79 MiB (auxiliary id hint: vendors)
  assets by path *.svg 1.73 MiB 3 assets
  assets by path *.eot 363 KiB 3 assets
  assets by path *.ttf 362 KiB 3 assets
  assets by path *.woff 203 KiB 3 assets
  assets by path *.woff2 164 KiB
    asset ada6e6df937f7e5e8b790dfea07109b7.woff2 76.4 KiB [emitted] (auxiliary id hint: vendors)
    asset c1210e5ebe4344da508396540be7f52c.woff2 75 KiB [emitted] (auxiliary id hint: vendors)
    asset 68c5af1f48e2bfca1e57ae1c556a5c72.woff2 13 KiB [emitted] (auxiliary id hint: vendors)
asset third-party-licenses.json 781 KiB [emitted] [big]
asset index.html 1.56 KiB [emitted]
orphan modules 9.8 MiB [orphan] 3384 modules
runtime modules 118 KiB 15 modules
built modules 30.9 MiB (javascript) 5.29 KiB (share-init) 5.29 KiB (consume-shared) [built]
  modules by path ./node_modules/ 30.8 MiB 2214 modules
  provide-module modules 5.29 KiB 108 modules
  consume-shared-module modules 5.29 KiB 65 modules
  modules by path ../ 105 bytes 7 modules
  modules by path ./fetch-node/*.node (ignored) 45 bytes 3 modules
  modules by path ./file/ 45 bytes 3 modules
  modules by path ./build/ 24 KiB
    ./build/bootstrap.js 3.86 KiB [built] [code generated]
    ./build/index.out.js + 1 modules 20.1 KiB [built] [code generated]
  modules by path ./images-node/*.node (ignored) 30 bytes
    ./images-node/encode-image.node (ignored) 15 bytes [built] [code generated]
    ./images-node/parse-image.node (ignored) 15 bytes [built] [code generated]

WARNING in ./node_modules/vega-lite/build/src/index.js 5:0-30
Should not import the named export 'version' (reexported as 'version') from default-exporting module (only default export is available soon)
 @ consume shared module (default) vega-lite@^4.0.2 (strict) (fallback: ./node_modules/vega-lite/build/src/index.js)
 @ ./node_modules/vega-embed/build/vega-embed.module.js 6:0-44 821:16-30
 @ consume shared module (default) vega-embed@^6.2.1 (strict) (fallback: ./node_modules/vega-embed/build/vega-embed.module.js)
 @ ./node_modules/@jupyterlab/vega5-extension/lib/index.js 166:28-48
 @ consume shared module (default) @jupyterlab/vega5-extension@~3.1.1 (strict) (fallback: ./node_modules/@jupyterlab/vega5-extension/lib/index.js)
 @ ./build/index.out.js 171:16-54
 @ ./build/bootstrap.js

WARNING in license-webpack-plugin: could not find any license file for @lumino/application. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @lumino/widgets. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for styled-components. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for vega-lite. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for to-camel-case. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for to-no-case. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for to-space-case. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for popper.js. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for gud. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for backbone. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for toggle-selection. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for stylis-rule-sheet. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @icons/material. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @mapbox/geojson-normalize. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for tippy-react-headless. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for tippy-headless. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for keplergl-jupyter. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for keymirror. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for react-onclickoutside. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for remark-parse. Use the licenseTextOverrides option to add the license text if desired.

WARNING in @jupyter-widgets/base
  Multiple versions of @jupyter-widgets/base found:
    3.0.0 ./~/keplergl-jupyter/~/@jupyter-widgets/base from ./~/keplergl-jupyter/~/@jupyter-widgets/base/lib/index.js
    4.0.0 ./~/@jupyter-widgets/base from ./~/@jupyter-widgets/jupyterlab-manager/lib/plugin.js

WARNING in @loaders.gl/core
  Multiple versions of @loaders.gl/core found:
    2.3.13 ./~/kepler.gl/~/@loaders.gl/core from ./~/kepler.gl/~/@loaders.gl/core/dist/esm/index.js
    3.0.7 ./~/@loaders.gl/core from ./~/@deck.gl/core/dist/esm/lib/init.js

WARNING in @loaders.gl/draco
  Multiple versions of @loaders.gl/draco found:
    2.3.13 ./~/kepler.gl/~/@loaders.gl/draco from ./~/kepler.gl/~/@loaders.gl/gltf/dist/esm/lib/extensions/KHR_draco_mesh_compression.js
    3.0.7 ./~/@loaders.gl/draco from ./~/@loaders.gl/draco/dist/esm/index.js

WARNING in @loaders.gl/gis
  Multiple versions of @loaders.gl/gis found:
    2.3.13 ./~/@loaders.gl/json/~/@loaders.gl/gis from ./~/@loaders.gl/json/dist/esm/geojson-loader.js
    3.0.7 ./~/@loaders.gl/gis from ./~/kepler.gl/~/@deck.gl/geo-layers/dist/esm/mvt-layer/mvt-layer.js

WARNING in @loaders.gl/gltf
  Multiple versions of @loaders.gl/gltf found:
    2.3.13 ./~/kepler.gl/~/@loaders.gl/gltf from ./~/kepler.gl/~/@loaders.gl/gltf/dist/esm/index.js
    3.0.7 ./~/@loaders.gl/gltf from ./~/@deck.gl/mesh-layers/dist/esm/scenegraph-layer/scenegraph-layer.js

WARNING in @loaders.gl/images
  Multiple versions of @loaders.gl/images found:
    2.3.13 ./~/kepler.gl/~/@loaders.gl/images from ./~/kepler.gl/~/@loaders.gl/gltf/dist/esm/lib/gltf-scenegraph.js
    3.0.7 ./~/@loaders.gl/images from ./~/@deck.gl/core/dist/esm/lib/init.js

WARNING in @loaders.gl/loader-utils
  Multiple versions of @loaders.gl/loader-utils found:
    2.3.13 ./~/kepler.gl/~/@loaders.gl/loader-utils from ./~/kepler.gl/~/@loaders.gl/core/dist/esm/index.js
    3.0.7 ./~/@loaders.gl/loader-utils from ./~/@loaders.gl/core/dist/esm/index.js

WARNING in color-name
  Multiple versions of color-name found:
    1.1.3 ./~/color-convert/~/color-name from ./~/color-convert/conversions.js
    1.1.4 ./~/color-name from ./~/color-string/index.js

WARNING in d3-array
  Multiple versions of d3-array found:
    1.2.4 ./~/react-vis/~/d3-array from ./~/react-vis/es/utils/axis-utils.js
    2.12.1 ./~/d3-array from ./~/d3-array/src/index.js

WARNING in d3-color
  Multiple versions of d3-color found:
    1.4.1 ./~/d3-color from ./~/vega-encode/~/d3-interpolate/src/value.js
    2.0.0 ./~/vega-geo/~/d3-color from ./~/vega-geo/build/vega-geo.module.js

WARNING in d3-dsv
  Multiple versions of d3-dsv found:
    1.2.0 ./~/d3-dsv from ./~/d3-request/src/csv.js
    2.0.0 ./~/vega-loader/~/d3-dsv from ./~/vega-loader/src/formats/dsv.js

WARNING in d3-format
  Multiple versions of d3-format found:
    1.4.5 ./~/d3-format from ./~/@jupyter-widgets/controls/lib/widget_int.js
    2.0.0 ./~/vega-format/~/d3-format from ./~/vega-format/build/vega-format.module.js

WARNING in d3-geo
  Multiple versions of d3-geo found:
    1.12.1 ./~/react-vis/~/d3-geo from ./~/react-vis/es/plot/series/contour-series.js
    2.0.2 ./~/d3-geo from ./~/vega-geo/build/vega-geo.module.js

WARNING in d3-hierarchy
  Multiple versions of d3-hierarchy found:
    1.1.9 ./~/d3-hierarchy from ./~/react-vis/es/sunburst/index.js
    2.0.0 ./~/vega-hierarchy/~/d3-hierarchy from ./~/vega-hierarchy/build/vega-hierarchy.module.js

WARNING in d3-interpolate
  Multiple versions of d3-interpolate found:
    1.4.0 ./~/d3-interpolate from ./~/d3-scale/src/sequential.js
    2.0.1 ./~/vega-encode/~/d3-interpolate from ./~/vega-encode/build/vega-encode.module.js

WARNING in d3-path
  Multiple versions of d3-path found:
    1.0.9 ./~/d3-shape/~/d3-path from ./~/d3-shape/src/arc.js
    2.0.0 ./~/d3-path from ./~/vega-scenegraph/build/vega-scenegraph.module.js

WARNING in d3-scale
  Multiple versions of d3-scale found:
    1.0.7 ./~/react-vis/~/d3-scale from ./~/react-vis/es/plot/series/contour-series.js
    3.3.0 ./~/d3-scale from ./~/d3-scale/src/index.js

WARNING in d3-shape
  Multiple versions of d3-shape found:
    1.3.7 ./~/d3-shape from ./~/d3-shape/src/index.js
    2.1.0 ./~/vega-scenegraph/~/d3-shape from ./~/vega-scenegraph/build/vega-scenegraph.module.js

WARNING in d3-time
  Multiple versions of d3-time found:
    1.1.0 ./~/react-vis/~/d3-time from ./~/react-vis/~/d3-scale/src/time.js
    2.1.1 ./~/d3-time from ./~/vega-time/build/vega-time.module.js

WARNING in d3-time-format
  Multiple versions of d3-time-format found:
    2.3.0 ./~/react-vis/~/d3-time-format from ./~/react-vis/~/d3-scale/src/time.js
    3.0.0 ./~/d3-time-format from ./~/vega-format/build/vega-format.module.js

WARNING in dom-helpers
  Multiple versions of dom-helpers found:
    3.4.0 ./~/react-transition-group/~/dom-helpers from ./~/react-transition-group/CSSTransition.js
    5.2.1 ./~/dom-helpers from ./~/react-virtualized/dist/es/Grid/Grid.js

WARNING in escape-string-regexp
  Multiple versions of escape-string-regexp found:
    1.0.5 ./~/escape-string-regexp from ./~/react-highlighter/lib/highlighter.js
    4.0.0 ./~/sanitize-html/~/escape-string-regexp from ./~/sanitize-html/index.js

WARNING in long
  Multiple versions of long found:
    3.2.0 ./~/long from ./~/s2-geometry/src/s2geometry.js
    4.0.0 ./~/kepler.gl/~/long from ./~/kepler.gl/dist/layers/s2-geometry-layer/s2-utils.js

WARNING in performance-now
  Multiple versions of performance-now found:
    0.2.0 ./~/react-motion/~/performance-now from ./~/react-motion/lib/Motion.js
    2.1.0 ./~/performance-now from ./~/raf/index.js

WARNING in semver
  Multiple versions of semver found:
    6.3.0 ./~/@jupyter-widgets/jupyterlab-manager/~/semver
    7.3.5 ./~/semver

WARNING in unist-util-visit-parents
  Multiple versions of unist-util-visit-parents found:
    1.1.2 ./~/unist-util-visit-parents from ./~/mdast-add-list-metadata/index.js
    3.1.1 ./~/unist-util-visit/~/unist-util-visit-parents from ./~/unist-util-visit/index.js

WARNING in uuid
  Multiple versions of uuid found:
    3.4.0 ./~/react-map-gl-draw/~/uuid from ./~/react-map-gl-draw/dist-es6/editor.js
    7.0.3 ./~/react-tooltip/~/uuid from ./~/react-tooltip/dist/index.es.js

WARNING in vega-expression
  Multiple versions of vega-expression found:
    3.0.1 ./~/vega-lite/~/vega-expression from ./~/vega-lite/build/src/compile/data/expressions.js
    4.0.1 ./~/vega-expression from ./~/vega/build/vega.module.js

Check how you can resolve duplicate packages:
https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#resolving-duplicate-packages-in-your-bundle

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  216edb96b562c79adc09e2d3c63db7c0.svg (730 KiB)
  13de59f1a36b6cb4bca0050160ff0e41.svg (897 KiB)
  5434.1757d83f0551d76bedf9.js?v=1757d83f0551d76bedf9 (492 KiB)
  5331.a7a308689355765ca5aa.js?v=a7a308689355765ca5aa (303 KiB)
  jlab_core.0ae2c9e4ee30b720e761.js?v=0ae2c9e4ee30b720e761 (2.09 MiB)
  714.d52f5b8d9e5306c1120f.js?v=d52f5b8d9e5306c1120f (292 KiB)
  3128.1a89154ed1f86d0fb7a3.js?v=1a89154ed1f86d0fb7a3 (304 KiB)
  9952.41881cca41895fb50917.js?v=41881cca41895fb50917 (6.08 MiB)
  1281.adb8fec2604bb3291c86.js?v=adb8fec2604bb3291c86 (454 KiB)
  807.9ae8bb7819b7cc9ad8d2.js?v=9ae8bb7819b7cc9ad8d2 (737 KiB)
  third-party-licenses.json (781 KiB)

webpack 5.47.1 compiled with 50 warnings in 74539 ms

asset index.css 15.8 KiB [compared for emit] (name: index)
asset index.js 0 bytes [compared for emit] [minimized] (name: index)
Entrypoint index 15.8 KiB = index.css 15.8 KiB index.js 0 bytes
./node_modules/@jupyterlab/theme-dark-extension/style/theme.css 50 bytes [built] [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-dark-extension/style/variables.css 15.3 KiB [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-dark-extension/style/theme.css 472 bytes [code generated]
webpack 5.47.1 compiled successfully in 2062 ms

asset index.css 14.7 KiB [compared for emit] (name: index)
asset index.js 0 bytes [compared for emit] [minimized] (name: index)
Entrypoint index 14.7 KiB = index.css 14.7 KiB index.js 0 bytes
./node_modules/@jupyterlab/theme-light-extension/style/theme.css 50 bytes [built] [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-light-extension/style/variables.css 14.3 KiB [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-light-extension/style/theme.css 472 bytes [code generated]
webpack 5.47.1 compiled successfully in 2087 ms
Done in 77.53s.
troyshu commented 3 months ago

I'm getting this error too. Any workaround?

(works fine in classic notebook)

How do you start a "classic notebook"?