Le ven. 23 mai 2025 à 15:07, Jérémy Lal <kapo...@melix.org> a écrit :
> > > Le ven. 23 mai 2025 à 13:59, picca <pi...@debian.org> a écrit : > >> >> 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 >> > That's a bug in webpack (1106361) because it has incompatible types with the ones in nodejs 20.19.2. (For now those types issues are a mess, but holding back on them would only cause bigger issues later.) I'll upload a fix later today and the other, real problem, with jupyterlab.
-- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel