[Pkg-javascript-devel] packaging of jupyterlab

picca picca at debian.org
Fri May 23 12:59:57 BST 2025


Hello,

I would kindly request your help in order to solve this bug

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102558

I try to build the package in a clean chroot with sbuild and it end up
with this error

../../../../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


Do you think that it would be possible to help me deal with this in time
for trixie.

thanks for your help

Frederic



More information about the Pkg-javascript-devel mailing list