[Pkg-javascript-devel] Bug#1117466: npm: Executing command npm always fails

horsey_guy horsey_guy at proton.me
Fri Nov 21 03:20:38 GMT 2025


> Doing what ?
> Unless we can reproduce, we can't fix anything.

Executing `npm` by itself.

Can still reproduce on a fresh installation on a VM with Sid/Experimental repositories and KDE Plasma, but this error appears on the VM:

```
/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
```
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - horsey_guy at proton.me - 0xEC8A06ED.asc
Type: application/pgp-keys
Size: 840 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20251121/86209aaf/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 343 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20251121/86209aaf/attachment.sig>


More information about the Pkg-javascript-devel mailing list