isaacs/npm — Issue #1773: NPM On Windows: adduser fails with unknown error
Author: markcowl
Created: 2011-11-23 20:37:09+00:00
State: open

Error message:

"npm adduser fails: C:\Users\markcowl\azure\MyApp\WebRole1>npm adduser markcowl
Username: markcowl
Password:
Email: npm ERR! Error: read Unknown system errno 6
npm ERR! at errnoException (net.js:614:11)
npm ERR! at TTY.onread (net.js:355:20)
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.1.7600
npm ERR! command ""C:\\Program Files (x86)\\nodejs\\\\node.exe"" ""C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"" ""adduser"" ""markcowl""
npm ERR! cwd C:\Users\markcowl\azure\MyApp\WebRole1
npm ERR! node -v v0.6.2
npm ERR! npm -v 1.1.0-alpha
npm ERR! syscall read
npm ERR! code Unknown system errno 6
npm ERR! message read Unknown system errno 6
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\markcowl\azure\MyApp\WebRole1\npm-debug.log
npm not ok"

Debug log:

info it worked if it ends with ok
verbose cli [ 'C:\\Program Files (x86)\\nodejs\\\\node.exe',
verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
verbose cli 'adduser',
verbose cli 'markcowl' ]
info using npm@1.1.0-alpha
info using node@v0.6.2
verbose config file C:\Users\markcowl\.npmrc
verbose config file C:\Program Files (x86)\etc\npmrc
verbose config file C:\Program Files (x86)\nodejs\node_modules\npm\npmrc
ERR! Error: read Unknown system errno 6
ERR! at errnoException (net.js:614:11)
ERR! at TTY.onread (net.js:355:20)
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Windows_NT 6.1.7600
ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "adduser" "markcowl"
ERR! cwd C:\Users\markcowl\azure\MyApp\WebRole1
ERR! node -v v0.6.2
ERR! npm -v 1.1.0-alpha
ERR! syscall read
ERR! code Unknown system errno 6
ERR! message read Unknown system errno 6
verbose exit [ 1, true ]