Bug#1102558: jupyterlab: runtime fails with ReferenceError: require is not defined

2025-05-31 Thread Jérémy Lal
Package: jupyterlab Followup-For: Bug #1102558 I got some progress: - our webpack doesn't know how to resolve "node:crypto", to quickly go further I changed /usr/share/nodejs/@rjsf/core/lib/index.js to use require("crypto") instead: now the bundle runtime no longer dies on missing crypto. - now

Bug#1102558: jupyterlab: runtime fails with ReferenceError: require is not defined

2025-05-30 Thread PICCA Frederic-Emmanuel
If I remove the external commonjs crypto, the error comes from here ERROR in node:crypto Module build failed: UnhandledSchemeError: Reading from "node:crypto" is not handled by plugins (Unhandled scheme). Webpack supports "data:" and "file:" URIs by default. You may need an additional plugin to

Bug#1102558: jupyterlab: runtime fails with ReferenceError: require is not defined

2025-05-23 Thread Jérémy Lal
Package: jupyterlab Followup-For: Bug #1102558 > Type 'undefined' is not assignable to type '(err: Error, stackTraces: > CallSite[]) => any'. this was a different bug in node-webpack/nodejs 20.19.2, and the fix is uploaded - it's unrelated to this bug. Jérémy -- System Information: Debian Rel

Bug#1102558: jupyterlab: runtime fails with ReferenceError: require is not defined

2025-05-23 Thread Lorenzo Bertini
It's been two months now. At this rate it will not make it to Trixie. Any way to help the maintainers? Best, Lorenzo

Bug#1102558: [SPAM MEDIUM][Debian-pan-maintainers] Bug#1102558: jupyterlab: runtime fails with ReferenceError: require is not defined

2025-05-23 Thread PICCA Frederic-Emmanuel
While trying to rebuild the package I get this error message. ../../../../usr/share/nodejs/webpack/types.d.ts(15462,15): error TS2417: Class static side 'typeof WebpackError' incorrectly extends base class static side '{ readonly prototype: Error; captureStackTrace(targetObject: object, constru

Bug#1102558: jupyterlab: runtime fails with ReferenceError: require is not defined

2025-04-21 Thread Thiago Melo
On Fri, 11 Apr 2025 10:16:33 +0200 Lorenzo Bertini wrote: > is this what causes the page at localhost:port/lab to be blank? so I don't > open another report... I confirm that it's the cause of a blank jupyterlab page on Debian, yes. > Does anyone know of a quick fix? I rely on this package. Thi

Bug#1102558: jupyterlab: runtime fails with ReferenceError: require is not defined

2025-04-11 Thread Lorenzo Bertini
Hi, is this what causes the page at localhost:port/lab to be blank? so I don't open another report... Does anyone know of a quick fix? I rely on this package. Cheers, Lorenzo

Bug#1102558: jupyterlab: runtime fails with ReferenceError: require is not defined

2025-04-10 Thread Jérémy Lal
Package: jupyterlab Version: 4.0.11+ds1+~cs11.25.27-6 Severity: important Hi, ReferenceError: require is not defined at 38749 (external commonjs "crypto":1:1) when opening http://localhost:/lab I guess the bundle hasn't been made with the right target (iife ?) -- System Information: De