Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I have a fresh nodejs npm install on Debian Trixie.
Trying to find the default config file is imposible, so I tried the npm command:
npm config edit --global (with and without sudo).
It only shows the progress spinner and overwriting the text on each return.
(Vi's :q! still works.)
Expected Behavior
- That there is an editable
.npmrc file somewhere.
- That the
npm config edit --global works.
- That the
/usr/etc/npmrc file exists.
(Debian doesn't have a /usr/etc!)
Steps To Reproduce
see above
Environment
- nodejs version :
v24.14.1
- npm version :
11.11.0
- OS Name:
Debian Trixie
- System Model Name: n/a
- npm config:
; node bin location = /usr/bin/node
; node version = v24.14.1
; npm local prefix = /
; npm version = 11.11.0
; cwd = /
; HOME = /home/declaw
; Run `npm config ls -l` to show all defaults.
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I have a fresh nodejs npm install on
Debian Trixie.Trying to find the default config file is imposible, so I tried the npm command:
npm config edit --global(with and without sudo).It only shows the progress spinner and overwriting the text on each return.
(Vi's
:q!still works.)Expected Behavior
.npmrcfile somewhere.npm config edit --globalworks./usr/etc/npmrcfile exists.(Debian doesn't have a
/usr/etc!)Steps To Reproduce
see above
Environment
v24.14.111.11.0Debian Trixie