I can't find at all where npm has its global settings stored.
npm config get userconfig
C:UsersJack.npmrc
npm config get globalconfig
C:UsersJackAppDataRoaming
pmetc
pmrc
There's no files at either of these paths and yet
npm config get proxy -> returns my proxy url for work. which I want to delete.
npm config -g delete proxy
npm ERR! Error: ENOENT, unlink 'C:UsersJackAppDataRoaming
pmetc
pmrc'
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "config" "-g" "delete" "proxy"
npm ERR! cwd C:fDropboxapps
npm ERR! node -v v0.8.22
npm ERR! npm -v 1.2.14
npm ERR! path C:UsersJackAppDataRoaming
pmetc
pmrc
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:fDropboxapps
pm-debug.log
npm ERR! not ok code 0
See Question&Answers more detail:os