[Debian-pan-maintainers] Unifying jupyterlab and node-jupyterlab

Yadd yadd at debian.org
Sat Jun 8 14:07:32 BST 2024


On 6/8/24 17:05, Yadd wrote:
> On 6/8/24 14:06, Roland Mas wrote:
>> Le 08/06/2024 à 06:15, Yadd a écrit :
>>> On 6/8/24 07:25, Yadd wrote:
>>>> Could you give me a way to reproduce ?
>>>
>>> Also retry with my last changes and dh-nodejs 0.15.22 (from 
>>> https://salsa.debian.org/js-team/pkg-js-tools)
>>> This version contains a /usr/bin/pkgjs which reproduces yarn or npm 
>>> behavior using pkgjs-* tools. Also it creates aliases into 
>>> node_modules/.bin (yarn => pkgjs, npm => pkgjs)
>>
>> I pulled your changes and upgraded to dh-nodejs 0.15.22 from Git. It 
>> does fix the build… but the resulting package doesn't work.
>>
>> Instructions to reproduce: I do everything with git-buildpackage, in a 
>> cowbuilder chroot. I set up a hook so that I get a shell within the 
>> chroot after the build. Within that shell, I run "debi --with-depends" 
>> to install the package, then "jupyter-lab --allow-root" to start 
>> Jupyterlab; visiting http://localhost:8888/lab with a browser (even 
>> one running outside the chroot) gives a blank page that says "[object 
>> Module]". You can then ^C the server, then run "YARNCOMMAND=pkgjs 
>> jupyter-lab build" (no need to rebuild the full package), restart the 
>> server, and it still fails. But if you just run "jupyter-lab build" 
>> without tweaking the YARNCOMMAND variable, then you do get a working 
>> Jupyterlab.
> 
> Looking à browser console, their is an error inside webpack result 
> (a.map isn't a function)

And on server side:

[E 2024-06-08 17:04:09.253 ServerApp] Could not open static file ''
[W 2024-06-08 17:04:09.253 ServerApp] 404 GET /renderer.js.map 
(127.0.0.1) 11.92ms referer=None
[W 2024-06-08 17:04:09.255 ServerApp] 404 GET /installHook.js.map 
(127.0.0.1) 0.90ms referer=None

So install is bad



More information about the Debian-pan-maintainers mailing list