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

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Fri May 23 12:48:10 BST 2025


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, constructorOpt?: Function | undefined): void; prepareStackTrace(err: Error, stackTraces: CallSite[]): any; stackTraceLimit: number; }'.
  Types of property 'prepareStackTrace' are incompatible.
    Type '((err: Error, stackTraces: CallSite[]) => any) | undefined' is not assignable to type '(err: Error, stackTraces: CallSite[]) => any'.
      Type 'undefined' is not assignable to type '(err: Error, stackTraces: CallSite[]) => any'.
make[1]: *** [debian/rules:31: execute_after_dh_auto_build] Error 1
make[1]: Leaving directory '/build/reproducible-path/jupyterlab-4.0.11+ds1+~cs11.25.27'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

I think that I need the help of js-team members for this...

Fred



More information about the Debian-pan-maintainers mailing list