[Pkg-javascript-devel] Bug#1121203: Breaks npm: Class extends value #<Object> is not a constructor or null
Andrey Rakhmatullin
wrar at debian.org
Sat Nov 22 15:30:25 GMT 2025
Package: node-minipass
Version: 5.0.0+~cs10.3.21-5
Severity: serious
Control: affects -1 npm
The change in 5.0.0+~cs10.3.21-5 broke at least npm:
$ npm
/usr/share/nodejs/npm/lib/cli.js:48
throw err
^
TypeError: Class extends value #<Object> is not a constructor or null
at Object.<anonymous> (/usr/share/nodejs/npm/node_modules/fs-
minipass/index.js:141:4)
at Module._compile (node:internal/modules/cjs/loader:1706:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
at Module.load (node:internal/modules/cjs/loader:1441:32)
at Module._load (node:internal/modules/cjs/loader:1263:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
at Module.require (node:internal/modules/cjs/loader:1463:12)
at require (node:internal/modules/helpers:147:16)
at Object.<anonymous> (/usr/share/nodejs/pacote/lib/fetcher.js:14:13)
Node.js v22.21.1
As this also makes the autopkgtests of npm fail, node-minipass won't migrate:
https://ci.debian.net/packages/n/npm/testing/amd64/66427153/
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.17.7+deb14+1-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages node-minipass depends on:
ii node-encoding 0.1.13-2
ii node-jsonparse 1.3.1-10
ii node-yallist 4.0.0+~4.0.1-2
node-minipass recommends no packages.
node-minipass suggests no packages.
-- debconf-show failed
More information about the Pkg-javascript-devel
mailing list