isaacs/npm — Issue #2005: error "npm install <a package>" through cygwin
Author: dfhuynh
Created: 2012-01-07 18:42:47+00:00
State: open

I installed node using the msi file on my Windows Vista box. Then I ran npm.cmd install ejs in cygwin.

$ ./npm.cmd install ejs
npm ERR! Error: EACCES, permission denied 'C:\Program Files\nodejs'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Windows_NT 6.0.6002
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "ejs"
npm ERR! cwd C:\Program Files\nodejs
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.0-beta-4
npm ERR! path C:\Program Files\nodejs
npm ERR! code EACCES
npm ERR! message EACCES, permission denied 'C:\Program Files\nodejs'
npm ERR! Error: EACCES, permission denied 'C:\Program Files\nodejs\npm-debug.log'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Windows_NT 6.0.6002
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "ejs"
npm ERR! cwd C:\Program Files\nodejs
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.0-beta-4
npm ERR! path C:\Program Files\nodejs\npm-debug.log
npm ERR! code EACCES
npm ERR! message EACCES, permission denied 'C:\Program Files\nodejs\npm-debug.log'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Program Files\nodejs\npm-debug.log
npm not ok