Le lun. 2 juin 2025 à 09:48, PICCA Frederic-Emmanuel <
[email protected]> 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.

Reply via email to