[Pkg-javascript-devel] Bug#762060: nodejs: non FHS config file location

Adam Heath doogie at brainfood.com
Thu Sep 18 01:45:52 UTC 2014


package: nodejs
version: 0.10.32-1nodesource1~wheezy1
severity: serious

==
root at HOST:~# npm config set --global proxy http://192.168.3.245:3128/
root at HOST:~# npm config list
; cli configs
registry = "https://registry.npmjs.org/"
user-agent = "npm/1.4.28 node/v0.10.32 linux x64"

; globalconfig /usr/etc/npmrc
proxy = "http://192.168.3.245:3128/"

; node bin location = /usr/bin/node
; cwd = /root
; HOME = /root
; 'npm config ls -l' to show all defaults.

==

The location of that global config is quite bad, on a debian-based 
system.  Please move it to /etc/, at the least.

I'm marking this serious, as it goes against proper debian policy.



More information about the Pkg-javascript-devel mailing list