[Pkg-javascript-devel] packaging of jupyterlab
Jérémy Lal
kapouer at melix.org
Fri May 23 14:30:00 BST 2025
Le ven. 23 mai 2025 à 15:07, Jérémy Lal <kapouer at melix.org> a écrit :
>
>
> Le ven. 23 mai 2025 à 13:59, picca <picca at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20250523/e2a39701/attachment.htm>
More information about the Pkg-javascript-devel
mailing list