isaacs/npm — Issue #2165: npm docs not working on windows
Author: matthiasg
Created: 2012-02-16 07:25:55+00:00
State: open

there seems to be a little error. i have opened urls on windows from node successfully, so there must be some minor fault in the code. maybe i will look it up on the weekend, but here is the log for "npm docs seaport"

verbose repository git://github.com/substack/seaport.git
silly exec start "http://github.com/substack/seaport#readme"
silly spawning [ 'start',
silly spawning [ 'http://github.com/substack/seaport#readme' ],
silly spawning null ]
ERR! Failed to open http://github.com/substack/seaport#readme in a browser. It could be that the
ERR! 'browser' config is not set. Try doing this:
ERR! npm config set browser google-chrome
ERR! or:
ERR! npm config set browser lynx
ERR!
ERR! Error: `start "http://github.com/substack/seaport#readme"` failed with 127
ERR! at ChildProcess. (C:\Development\dev-tools\node_modules\npm\lib\utils\exec.js:49:20)
ERR! at ChildProcess.emit (events.js:70:17)
ERR! at maybeExit (child_process.js:361:16)
ERR! at Process.onexit (child_process.js:397:5)
ERR! You may report this log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Windows_NT 6.1.7601
ERR! command "C:\\Development\\dev-tools\\\\node.exe" "C:\\Development\\dev-tools\\node_modules\\npm\\bin\\npm-cli.js" "docs" "seaport"
ERR! cwd c:\Development\apps\pacsproxy.ukw\source\cluster-node
ERR! node -v v0.6.10
ERR! npm -v 1.1.0-3
ERR! message `start "http://github.com/substack/seaport#readme"` failed with 127
verbose exit [ 1, true ]