-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next steps
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
npm --help
/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.1The problem even occur with other commands for an instance npm run command
Expected Behavior
npm to be working normally!
Steps To Reproduce
Node.js has been updated to v22.21.1 and system started failing I even couldn't execute npm -v
Environment
- npm: 9.2.0~ds1-3
- Node.js: v22.21.1
- OS Name: Debian forky/sid x86_64
- System Model Name: ThinkPad X1 Carbon Gen 11
- npm config:
npm config ls
This won't work for me at all, npm is broken I've removed it and reinstalled it but nothing.
QnF6eq
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next steps