jupyter-widgets / ipywidgets

Interactive Widgets for the Jupyter Notebook
https://ipywidgets.readthedocs.io
BSD 3-Clause "New" or "Revised" License
3.1k stars 946 forks source link

The sourcemaps are not included in the package #3916

Open korgan00 opened 1 month ago

korgan00 commented 1 month ago

Description

The sourcemaps are not included in the package.

Im getting warnings:

 WARN  Failed to load source map for [...]/node_modules/@jupyter-widgets/html-manager/lib/index.js.
Error: An error occurred while trying to read the map file at index.js.map
Error: ENOENT: no such file or directory, open '[...]/node_modules/@jupyter-widgets/html-manager/lib/index.js.map'

 WARN  Failed to load source map for [...]/node_modules/@jupyter-widgets/html-manager/lib/htmlmanager.js.
Error: An error occurred while trying to read the map file at htmlmanager.js.map
Error: ENOENT: no such file or directory, open [...]/node_modules/@jupyter-widgets/html-manager/lib/htmlmanager.js.map'

 WARN  Failed to load source map for [...]/node_modules/@jupyter-widgets/controls/lib/index.js.
Error: An error occurred while trying to read the map file at index.js.map
Error: ENOENT: no such file or directory, open '[...]/node_modules/@jupyter-widgets/controls/lib/index.js.map'

 WARN  Failed to load source map for [...]/node_modules/@jupyter-widgets/controls/lib/utils.js. 
Error: An error occurred while trying to read the map file at utils.js.map
Error: ENOENT: no such file or directory, open '[...]/node_modules/@jupyter-widgets/controls/lib/utils.js.map'

 WARN  Failed to load source map for [...]/node_modules/@jupyter-widgets/base/lib/index.js.
Error: An error occurred while trying to read the map file at index.js.map
Error: ENOENT: no such file or directory, open '[...]/node_modules/@jupyter-widgets/base/lib/index.js.map'

 WARN  Failed to load source map for[...]/node_modules/@jupyter-widgets/base/lib/widget.js. 
Error: An error occurred while trying to read the map file at widget.js.map
Error: ENOENT: no such file or directory, open '[...]/node_modules/@jupyter-widgets/base/lib/widget.js.map'

 WARN  Failed to load source map for [...]/node_modules/@jupyter-widgets/base/lib/utils.js.
Error: An error occurred while trying to read the map file at utils.js.map
Error: ENOENT: no such file or directory, open '[...]/node_modules/@jupyter-widgets/base/lib/utils.js.map'

 WARN  Failed to load source map for [...]/node_modules/@jupyter-widgets/base/lib/backbone-patch.js.
Error: An error occurred while trying to read the map file at backbone-patch.js.map
Error: ENOENT: no such file or directory, open '[...]/node_modules/@jupyter-widgets/base/lib/backbone-patch.js.map'

 WARN  Failed to load source map for [...]/node_modules/@jupyter-widgets/base/lib/nativeview.js.
Error: An error occurred while trying to read the map file at nativeview.js.map
Error: ENOENT: no such file or directory, open '[...]/node_modules/@jupyter-widgets/base/lib/nativeview.js.map'

Reproduce

I am trying to use it with a nuxt environment.

Expected behavior

To have the .map files

Context

Related installed packages. "@jupyter-widgets/base": "^6.0.7", "@jupyter-widgets/base-manager": "^1.0.8", "@jupyter-widgets/html-manager": "^1.0.10", "@jupyter-widgets/controls": "^5.0.8",