[Debian-pan-maintainers] Bug#1096136: Bug#1096136: jupyterlab: Fail to get yarn configuration. Expecting value: line 1 column 1 (char 0)

Jérémy Lal kapouer at melix.org
Mon Jun 2 09:58:40 BST 2025


Le lun. 2 juin 2025 à 09:48, PICCA Frederic-Emmanuel <
frederic-emmanuel.picca at synchrotron-soleil.fr> a écrit :

> \> Hi,
> >
> > can you explain how you start it (to make sure I can check if it is
> fixed).
>
>
> Yes :)
>
> jupyter-lab
>
> it will open a browser and we should see the desktop of jupyter lab and
> not a blank screen.
>

Ok, so it's very much 1102558, let's merge those bugs.

My question is why do we need this kind of patch in order to build it on
> Debian ?
>
> Is there a problem somehere else which explain this ?
>

jupyterlab has a transitive dependency on nanoid 3,
but the version available in debian is nanoid 5.0.9,
in between it had this:
https://github.com/ai/nanoid/commit/1fa0a3d84749d9a70870033b28af2f914e7c63b1
and webpack 5 doesn't support "node:" prefix for bundling commonjs modules
(at least, not by default),
which is a known bug:
https://github.com/webpack/webpack/issues/14166
stdlib implements a solution:
https://github.com/niksy/node-stdlib-browser/commit/a2f67bca53588395e9349d5d8a7fd628c3d803dc
https://github.com/niksy/node-stdlib-browser/blob/master/helpers/webpack/plugin.js

We have tons of issues like that with rollup and webpack.
To my knowledge the only tool that works really well is esbuild.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-pan-maintainers/attachments/20250602/81c6be99/attachment-0001.htm>


More information about the Debian-pan-maintainers mailing list