Source: node-webpack Version: 5.97.1+dfsg1+~cs11.18.27-2 Severity: important
Compiling typescript programs using webpack will fail with ../../../../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'. 15462 declare class WebpackError extends Error { This is known and easy to fix: https://github.com/webpack/webpack/issues/19498 -- System Information: Debian Release: 13.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.12.27-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled