voodootikigod/node-serialport — Issue #24: not installing in Win 7
Author: soundanalogous
Created: 2011-12-03 18:23:54+00:00
State: open

Should node-serialport work in Windows? npm installation in Windows 7 fails. Here is my npm-debug info:

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 'install',
verbose cli 'serialport' ]
info using npm@1.1.0-alpha-6
info using node@v0.6.4
verbose config file C:\Users\Administrator\.npmrc
verbose config file C:\Program Files (x86)\nodejs\etc\npmrc
verbose config file C:\Program Files (x86)\nodejs\node_modules\npm\npmrc
verbose mkdir done: C:\Users\Administrator\Documents\Arduino-JS\server 755
verbose caching C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\socket.io\package.json
verbose loadDefaults socket.io@0.8.7
verbose caching C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\websocket\package.json
verbose loadDefaults websocket@1.0.2
verbose into C:\Users\Administrator\Documents\Arduino-JS\server [ 'serialport' ]
verbose cache add serialport
verbose cache add [ 'serialport', null ]
silly cache add: name, spec, args [ undefined, 'serialport', [ 'serialport', null ] ]
verbose parsed url { pathname: 'serialport',
verbose parsed url path: 'serialport',
verbose parsed url href: 'serialport' }
info addNamed [ 'serialport', '' ]
verbose addNamed [ null, '' ]
verbose GET serialport
verbose raw, before any munging serialport
verbose url resolving [ 'https://registry.npmjs.org/', './serialport' ]
verbose url resolved https://registry.npmjs.org/serialport
verbose etag "DM3DFXDG0DTMYOPAYPUUBWEDE"
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"DM3DFXDG0DTMYOPAYPUUBWEDE"',
silly get cb date: 'Sat, 03 Dec 2011 18:12:50 GMT',
silly get cb 'content-length': '0' } ]
verbose etag serialport from cache
verbose mkdir done: C:\Users\Administrator\AppData\Roaming\npm-cache\serialport 755
verbose GET serialport/0.6.3
verbose raw, before any munging serialport/0.6.3
verbose url resolving [ 'https://registry.npmjs.org/', './serialport/0.6.3' ]
verbose url resolved https://registry.npmjs.org/serialport/0.6.3
verbose etag "DM3DFXDG0DTMYOPAYPUUBWEDE"
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"DM3DFXDG0DTMYOPAYPUUBWEDE"',
silly get cb date: 'Sat, 03 Dec 2011 18:12:50 GMT',
silly get cb 'content-length': '0' } ]
verbose etag serialport/0.6.3 from cache
verbose mkdir done: C:\Users\Administrator\AppData\Roaming\npm-cache\serialport\0.6.3 755
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.8-win32-ia32-6.1.7601',
verbose bin dist { shasum: '4ddcbaa239da037ddeb01866b46bb13d46892c28',
verbose bin dist tarball: 'http://registry.npmjs.org/serialport/-/serialport-0.6.3.tgz' } ]
verbose caching C:\Users\Administrator\AppData\Roaming\npm-cache\serialport\0.6.3\package\package.json
verbose loadDefaults serialport@0.6.3
silly resolved [ { name: 'serialport',
silly resolved version: '0.6.3',
silly resolved description: 'Welcome your robotic javascript overlords. Better yet, program them!',
silly resolved author: { name: 'Chris Williams', email: 'voodootikigod@gmail.com' },
silly resolved main: './serialport',
silly resolved repository:
silly resolved { type: 'git',
silly resolved url: 'git://github.com/voodootikigod/node-serialport.git' },
silly resolved scripts: { install: 'cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../' },
silly resolved engines: { node: '0.6' },
silly resolved _id: 'serialport@0.6.3',
silly resolved contributors:
silly resolved [ { name: 'Chris Williams', email: 'chris@iterativedesigns.com' },
silly resolved { name: 'Esa-Matti Suuronen', email: 'esa-matti@suuronen.org' },
silly resolved { name: 'Nathan Rajlich', email: 'nathan@tootallnate.net' },
silly resolved { name: 'Rick Waldron', email: 'waldron.rick@gmail.com' },
silly resolved { email: 'w1nk' } ],
silly resolved dependencies: {},
silly resolved devDependencies: {},
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.0-alpha-6',
silly resolved _nodeVersion: 'v0.6.4',
silly resolved _defaultsLoaded: true } ]
info into C:\Users\Administrator\Documents\Arduino-JS\server serialport@0.6.3
info installOne serialport@0.6.3
info unbuild C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\serialport
verbose from cache C:\Users\Administrator\AppData\Roaming\npm-cache\serialport\0.6.3\package\package.json
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\___serialport.npm'
verbose mkdir done: C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\___serialport.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\serialport
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\___serialport.npm\package
verbose rm'ed C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\serialport
verbose renamed [ 'C:\\Users\\Administrator\\Documents\\Arduino-JS\\server\\node_modules\\___serialport.npm\\package',
verbose renamed 'C:\\Users\\Administrator\\Documents\\Arduino-JS\\server\\node_modules\\serialport' ]
verbose caching C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\serialport\package.json
verbose loadDefaults serialport@0.6.3
info preinstall serialport@0.6.3
verbose from cache C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\serialport\package.json
verbose into C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\serialport []
silly resolved []
verbose about to build C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\serialport
info build C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\serialport
verbose from cache C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\serialport\package.json
verbose linkStuff [ false,
verbose linkStuff false,
verbose linkStuff false,
verbose linkStuff 'C:\\Users\\Administrator\\Documents\\Arduino-JS\\server\\node_modules' ]
info linkStuff serialport@0.6.3
verbose linkBins serialport@0.6.3
verbose linkMans serialport@0.6.3
verbose rebuildBundles serialport@0.6.3
info install serialport@0.6.3
verbose unsafe-perm in lifecycle true
silly exec cmd "/c" "cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../"
silly spawning [ 'cmd',
silly spawning [ '/c',
silly spawning 'cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../' ],
silly spawning 'C:\\Users\\Administrator\\Documents\\Arduino-JS\\server\\node_modules\\serialport' ]
info serialport@0.6.3 Failed to exec install script
ERR! error installing serialport@0.6.3 Error: serialport@0.6.3 install: `cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../`
ERR! error installing serialport@0.6.3 `cmd "/c" "cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../"` failed with 1
ERR! error installing serialport@0.6.3 at ChildProcess. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\exec.js:49:20)
ERR! error installing serialport@0.6.3 at ChildProcess.emit (events.js:70:17)
ERR! error installing serialport@0.6.3 at maybeExit (child_process.js:359:16)
ERR! error installing serialport@0.6.3 at Process.onexit (child_process.js:395:5)
info unbuild C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\serialport
verbose from cache C:\Users\Administrator\Documents\Arduino-JS\server\node_modules\serialport\package.json
info preuninstall serialport@0.6.3
info uninstall serialport@0.6.3
verbose unbuild serialport@0.6.3 [ true,
verbose unbuild serialport@0.6.3 'C:\\Users\\Administrator\\Documents\\Arduino-JS\\server\\node_modules',
verbose unbuild serialport@0.6.3 'C:\\Users\\Administrator\\Documents\\Arduino-JS\\server\\node_modules' ]
info postuninstall serialport@0.6.3
verbose installOne cb serialport@0.6.3
ERR! serialport@0.6.3 install: `cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../`
ERR! `cmd "/c" "cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../"` failed with 1
ERR!
ERR! Failed at the serialport@0.6.3 install script.
ERR! This is most likely a problem with the serialport package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR! cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../
ERR! You can get their info via:
ERR! npm owner ls serialport
ERR! There is likely additional logging output above.
ERR!
ERR! System Windows_NT 6.1.7601
ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "serialport"
ERR! cwd C:\Users\Administrator\Documents\Arduino-JS\server
ERR! node -v v0.6.4
ERR! npm -v 1.1.0-alpha-6
ERR! code ELIFECYCLE
ERR! message serialport@0.6.3 install: `cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../`
ERR! message `cmd "/c" "cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../"` failed with 1
verbose exit [ 1, true ]