But then with a downgrade, the same error message appears. Also note that this occurs on a fresh VM with Debian Sid/Experimental packages.
```
/usr/share/nodejs/npm/lib/cli.js:48
throw err
^
TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type
function. Received an instance of Object
at promisify (node:internal/util:409:3)
at Object.<anonymous> (/usr/share/nodejs/cacache/lib/util/glob.js:4:14)
at Module._compile (node:internal/modules/cjs/loader:1521:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
at Module.load (node:internal/modules/cjs/loader:1266:32)
at Module._load (node:internal/modules/cjs/loader:1091:12)
at Module.require (node:internal/modules/cjs/loader:1289:19)
at require (node:internal/modules/helpers:182:18)
at Object.<anonymous> (/usr/share/nodejs/cacache/lib/rm.js:4:14)
at Module._compile (node:internal/modules/cjs/loader:1521:14) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v20.19.5
```
publickey - [email protected] - 0xEC8A06ED.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
-- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
