Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

not installing in Win 7 #24

Closed
soundanalogous opened this Issue · 26 comments

10 participants

@soundanalogous

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 ]

@RIAEvangelist

I am having the same issue, but I am using win-nodeJS (nodeJS 0.6.5)
I reccomend win-nodeJS package very much it comes coupled with npm as well
http://code.google.com/p/nodejs-win/

cmd display :

npm ERR! prefix directory not found
npm ERR! Error: ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Roaming
\npm'
npm ERR! Report this entire log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com
npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\Program Files\NodeJS\\node.exe" "C:\Program Files\Nod
eJS\node_modules\npm\bin\npm-cli.js" "install" "serialport"
npm ERR! cwd C:\Users\Foxy
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.1.0-alpha-6
npm ERR! path C:\Users\Foxy\AppData\Roaming\npm
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Roamin
g\npm'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Foxy\npm-debug.log
npm not ok

C:\Users\Foxy>npm install serialport
npm ERR! prefix directory not found
npm ERR! Error: ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Roaming
\npm'
npm ERR! Report this entire log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com
npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\Program Files\NodeJS\\node.exe" "C:\Program Files\Nod
eJS\node_modules\npm\bin\npm-cli.js" "install" "serialport"
npm ERR! cwd C:\Users\Foxy
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.1.0-alpha-6
npm ERR! path C:\Users\Foxy\AppData\Roaming\npm
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Roamin
g\npm'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Foxy\npm-debug.log
npm not ok

LOG :
info it worked if it ends with ok
verbose cli [ 'C:\Program Files\NodeJS\\node.exe',
verbose cli 'C:\Program Files\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.5
verbose config file C:\Users\Foxy.npmrc
verbose config file C:\Program Files\NodeJS\etc\npmrc
verbose config file C:\Program Files\NodeJS\node_modules\npm\npmrc
ERR! prefix directory not found
ERR! Error: ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Roaming\npm'
ERR! Report this entire log at:
ERR! http://github.com/isaacs/npm/issues
ERR! or email it to:
ERR! npm-@googlegroups.com
ERR!
ERR! System Windows_NT 6.1.7600
ERR! command "C:\Program Files\NodeJS\\node.exe" "C:\Program Files\NodeJS\node_modules\npm\bin\npm-cli.js" "install" "serialport"
ERR! cwd C:\Users\Foxy
ERR! node -v v0.6.5
ERR! npm -v 1.1.0-alpha-6
ERR! path C:\Users\Foxy\AppData\Roaming\npm
ERR! code ENOENT
ERR! message ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Roaming\npm'
verbose exit [ 1, true ]

Possible Solutions I am trying :

1) I am running Take ownership on programs, windows, and user dir, all sub dirs and files
->if this does not fix the issue then it is more than likely not a permissions issue

2) I will manually create the npm dir in the roaming dir.
->if this does not fix the issue, there is a hole in the space time continuum, and I would expect a new error

@RIAEvangelist

1) Did not fix the issue
Ran Take ownership on programs, windows, and user dir, all sub dirs and files

2) Fixed initial issue and resulted in new issue
I will manually create the npm dir in the roaming dir.

New issue details :

CMD display :

serialport@0.6.3 install C:\Users\Foxy\node_modules\serialport
cd serialport_native;node-waf configure build;cp build/Release/serialport_nati
ve.node ../

The system cannot find the path specified.
npm 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.no
de ../

npm 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
npm ERR! error installing serialport@0.6.3 at ChildProcess. (C:\P
rogram Files\NodeJS\node_modules\npm\lib\utils\exec.js:49:20)
npm ERR! error installing serialport@0.6.3 at ChildProcess.emit (events.js:7
0:17)
npm ERR! error installing serialport@0.6.3 at maybeExit (child_process.js:35
9:16)
npm ERR! error installing serialport@0.6.3 at Process.onexit (child_process.
js:395:5)
npm ERR! serialport@0.6.3 install: cd serialport_native;node-waf configure buil
d;cp build/Release/serialport_native.node ../

npm ERR! cmd "/c" "cd serialport_native;node-waf configure build;cp build/Relea
se/serialport_native.node ../"
failed with 1
npm ERR!
npm ERR! Failed at the serialport@0.6.3 install script.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd serialport_native;node-waf configure build;cp build/Release/seri
alport_native.node ../
npm ERR! You can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\Program Files\NodeJS\\node.exe" "C:\Program Files\Nod
eJS\node_modules\npm\bin\npm-cli.js" "install" "serialport"
npm ERR! cwd C:\Users\Foxy
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.1.0-alpha-6
npm ERR! code ELIFECYCLE
npm ERR! message serialport@0.6.3 install: cd serialport_native;node-waf config
ure build;cp build/Release/serialport_native.node ../

npm ERR! message cmd "/c" "cd serialport_native;node-waf configure build;cp bui
ld/Release/serialport_native.node ../"
failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Foxy\npm-debug.log
npm not ok

LOG File :

info it worked if it ends with ok
verbose cli [ 'C:\Program Files\NodeJS\\node.exe',
verbose cli 'C:\Program Files\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.5
verbose config file C:\Users\Foxy.npmrc
verbose config file C:\Program Files\NodeJS\etc\npmrc
verbose config file C:\Program Files\NodeJS\node_modules\npm\npmrc
verbose mkdir done: C:\Users\Foxy 755
verbose into C:\Users\Foxy [ '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
silly get cb [ 200,
silly get cb { vary: 'Accept',
silly get cb server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"DM3DFXDG0DTMYOPAYPUUBWEDE"',
silly get cb date: 'Sun, 04 Dec 2011 18:15:18 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '16938' } ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Roaming\npm-cache'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Roaming\npm-cache\serialport'
verbose mkdir done: C:\Users\Foxy\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
silly get cb [ 200,
silly get cb { vary: 'Accept',
silly get cb server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"DM3DFXDG0DTMYOPAYPUUBWEDE"',
silly get cb date: 'Sun, 04 Dec 2011 18:15:19 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '1171' } ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3'
verbose mkdir done: C:\Users\Foxy\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.11-win32-ia32-6.1.7600',
verbose bin dist { shasum: '4ddcbaa239da037ddeb01866b46bb13d46892c28',
verbose bin dist tarball: 'http://registry.npmjs.org/serialport/-/serialport-0.6.3.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/serialport/-/serialport-0.6.3.tgz',
verbose addRemoteTarball '4ddcbaa239da037ddeb01866b46bb13d46892c28' ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798'
verbose mkdir done: C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798 755
info fetch https://registry.npmjs.org/serialport/-/serialport-0.6.3.tgz
verbose fetch to C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798\tmp.tgz
verbose mkdir done: C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798 755
silly updated sha bytes 10240
info shasum 4ddcbaa239da037ddeb01866b46bb13d46892c28
info shasum C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798\tmp.tgz
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798___package.npm'
verbose mkdir done: C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798___package.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798\package
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798___package.npm\package
verbose rm'ed C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798\package
verbose renamed [ 'C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798\__package.npm\package',
verbose renamed 'C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798\package' ]
verbose caching C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798\package\package.json
verbose loadDefaults serialport@0.6.3
verbose tarball contents [ 'package', 'tmp.tgz' ]
verbose from cache C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798\package\package.json
verbose pack C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798\package C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package.tgz
silly makeList C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798\package
silly dir, dirLen [ 'C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798\package',
silly dir, dirLen 92 ]
verbose tarball C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package.tgz
verbose parent C:\Users\Foxy\AppData\Local\Temp\npm-1323022519516\1323022519516-0.2998147797770798\package
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3___package.npm'
verbose mkdir done: C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3___package.npm 755
verbose unpack
uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3___package.npm\package
verbose rm'ed C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package
verbose renamed [ 'C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\___package.npm\package',
verbose renamed 'C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package' ]
verbose caching C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package\package.json
verbose loadDefaults serialport@0.6.3
silly updated sha bytes 7949
info shasum f2e69ab8bd737a0347c49fd247a2845f38c52b00
info shasum C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package.tgz
verbose from cache C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package\package.json
verbose chmod C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package.tgz 644
silly skipping chown for windows C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package.tgz
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.5',
silly resolved _defaultsLoaded: true,
silly resolved dist: { shasum: 'f2e69ab8bd737a0347c49fd247a2845f38c52b00' } } ]
info into C:\Users\Foxy serialport@0.6.3
info installOne serialport@0.6.3
info unbuild C:\Users\Foxy\node_modules\serialport
verbose from cache C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package\package.json
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\node_modules'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\node_modules___serialport.npm'
verbose mkdir done: C:\Users\Foxy\node_modules___serialport.npm 755
verbose unpack
uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\Foxy\node_modules\serialport
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed C:\Users\Foxy\node_modules___serialport.npm\package
verbose rm'ed C:\Users\Foxy\node_modules\serialport
verbose renamed [ 'C:\Users\Foxy\node_modules\___serialport.npm\package',
verbose renamed 'C:\Users\Foxy\node_modules\serialport' ]
verbose caching C:\Users\Foxy\node_modules\serialport\package.json
verbose loadDefaults serialport@0.6.3
info preinstall serialport@0.6.3
verbose from cache C:\Users\Foxy\node_modules\serialport\package.json
verbose into C:\Users\Foxy\node_modules\serialport []
silly resolved []
verbose about to build C:\Users\Foxy\node_modules\serialport
info build C:\Users\Foxy\node_modules\serialport
verbose from cache C:\Users\Foxy\node_modules\serialport\package.json
verbose linkStuff [ false, false, false, 'C:\Users\Foxy\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\Foxy\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\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\Foxy\node_modules\serialport
verbose from cache C:\Users\Foxy\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\Foxy\node_modules',
verbose unbuild serialport@0.6.3 'C:\Users\Foxy\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.7600
ERR! command "C:\Program Files\NodeJS\\node.exe" "C:\Program Files\NodeJS\node_modules\npm\bin\npm-cli.js" "install" "serialport"
ERR! cwd C:\Users\Foxy
ERR! node -v v0.6.5
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 ]

I will try the following solutions :

1) This error seems to be cause by not being in the correct directory path therefore I will attempt to npm from the nodeJS installation dir.
->if this does not fix the issue, I would expect a new issue to arise.

@RIAEvangelist

1) This solution worked, but created a new error
This error seems to be cause by not being in the correct directory path therefore I will attempt to npm from the nodeJS installation dir.

CMD display :

npm WARN mongodb@0.9.6-23 package.json: bugs['web'] should probably be bugs['url
']

serialport@0.6.3 install c:\Program Files\NodeJS\node_modules\serialport
cd serialport_native;node-waf configure build;cp build/Release/serialport_nati
ve.node ../

The system cannot find the path specified.
npm 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.no
de ../

npm 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
npm ERR! error installing serialport@0.6.3 at ChildProcess. (c:\P
rogram Files\NodeJS\node_modules\npm\lib\utils\exec.js:49:20)
npm ERR! error installing serialport@0.6.3 at ChildProcess.emit (events.js:7
0:17)
npm ERR! error installing serialport@0.6.3 at maybeExit (child_process.js:35
9:16)
npm ERR! error installing serialport@0.6.3 at Process.onexit (child_process.
js:395:5)
npm ERR! serialport@0.6.3 install: cd serialport_native;node-waf configure buil
d;cp build/Release/serialport_native.node ../

npm ERR! cmd "/c" "cd serialport_native;node-waf configure build;cp build/Relea
se/serialport_native.node ../"
failed with 1
npm ERR!
npm ERR! Failed at the serialport@0.6.3 install script.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd serialport_native;node-waf configure build;cp build/Release/seri
alport_native.node ../
npm ERR! You can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command "c:\Program Files\NodeJS\\node.exe" "c:\Program Files\Nod
eJS\node_modules\npm\bin\npm-cli.js" "install" "serialport"
npm ERR! cwd c:\Program Files\NodeJS
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.1.0-alpha-6
npm ERR! code ELIFECYCLE
npm ERR! message serialport@0.6.3 install: cd serialport_native;node-waf config
ure build;cp build/Release/serialport_native.node ../

npm ERR! message cmd "/c" "cd serialport_native;node-waf configure build;cp bui
ld/Release/serialport_native.node ../"
failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! c:\Program Files\NodeJS\npm-debug.log
npm not ok

LOG File :

info it worked if it ends with ok
verbose cli [ 'c:\Program Files\NodeJS\\node.exe',
verbose cli 'c:\Program Files\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.5
verbose config file C:\Users\Foxy.npmrc
verbose config file c:\Program Files\NodeJS\etc\npmrc
verbose config file c:\Program Files\NodeJS\node_modules\npm\npmrc
verbose mkdir done: c:\Program Files\NodeJS 755
verbose caching c:\Program Files\NodeJS\node_modules\connect\package.json
verbose loadDefaults connect@1.7.2
verbose caching c:\Program Files\NodeJS\node_modules\connect-mongodb\package.json
verbose loadDefaults connect-mongodb@1.0.0
verbose caching c:\Program Files\NodeJS\node_modules\express\package.json
verbose loadDefaults express@2.5.0
verbose caching c:\Program Files\NodeJS\node_modules\express-csrf\package.json
verbose loadDefaults express-csrf@0.3.3
verbose caching c:\Program Files\NodeJS\node_modules\hashish\package.json
verbose loadDefaults hashish@0.0.4
verbose caching c:\Program Files\NodeJS\node_modules\mime\package.json
verbose loadDefaults mime@1.2.4
verbose caching c:\Program Files\NodeJS\node_modules\mkdirp\package.json
verbose loadDefaults mkdirp@0.0.7
WARN mongodb@0.9.6-23 package.json: bugs['web'] should probably be bugs['url']
verbose caching c:\Program Files\NodeJS\node_modules\mongodb\package.json
verbose loadDefaults mongodb@0.9.6-23
verbose caching c:\Program Files\NodeJS\node_modules\mysql\package.json
verbose loadDefaults mysql@0.9.4
verbose caching c:\Program Files\NodeJS\node_modules\policyfile\package.json
verbose loadDefaults policyfile@0.0.4
verbose caching c:\Program Files\NodeJS\node_modules\qs\package.json
verbose loadDefaults qs@0.3.1
verbose caching c:\Program Files\NodeJS\node_modules\redis\package.json
verbose loadDefaults redis@0.6.6
verbose caching c:\Program Files\NodeJS\node_modules\socket.io\package.json
verbose loadDefaults socket.io@0.8.2
verbose caching c:\Program Files\NodeJS\node_modules\socket.io-client\package.json
verbose loadDefaults socket.io-client@0.8.2
verbose caching c:\Program Files\NodeJS\node_modules\traverse\package.json
verbose loadDefaults traverse@0.5.1
verbose caching c:\Program Files\NodeJS\node_modules\uglify-js\package.json
verbose loadDefaults uglify-js@1.0.6
verbose caching c:\Program Files\NodeJS\node_modules\websocket-client\package.json
verbose loadDefaults websocket-client@1.0.0
verbose caching c:\Program Files\NodeJS\node_modules\xmlhttprequest\package.json
verbose loadDefaults xmlhttprequest@1.2.2
verbose caching c:\Program Files\NodeJS\node_modules\npm\package.json
verbose loadDefaults npm@1.1.0-alpha-6
verbose into c:\Program Files\NodeJS [ '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: 'Sun, 04 Dec 2011 18:23:58 GMT',
silly get cb 'content-length': '0' } ]
verbose etag serialport from cache
verbose mkdir done: C:\Users\Foxy\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: 'Sun, 04 Dec 2011 18:23:59 GMT',
silly get cb 'content-length': '0' } ]
verbose etag serialport/0.6.3 from cache
verbose mkdir done: C:\Users\Foxy\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.11-win32-ia32-6.1.7600',
verbose bin dist { shasum: '4ddcbaa239da037ddeb01866b46bb13d46892c28',
verbose bin dist tarball: 'http://registry.npmjs.org/serialport/-/serialport-0.6.3.tgz' } ]
verbose caching C:\Users\Foxy\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.5',
silly resolved _defaultsLoaded: true } ]
info into c:\Program Files\NodeJS serialport@0.6.3
info installOne serialport@0.6.3
info unbuild c:\Program Files\NodeJS\node_modules\serialport
verbose from cache C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package\package.json
verbose mkdir (expected) error ENOENT, no such file or directory 'c:\Program Files\NodeJS\node_modules___serialport.npm'
verbose mkdir done: c:\Program Files\NodeJS\node_modules___serialport.npm 755
verbose unpack
uid, gid [ undefined, undefined ]
verbose unpackTarget c:\Program Files\NodeJS\node_modules\serialport
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed c:\Program Files\NodeJS\node_modules___serialport.npm\package
verbose rm'ed c:\Program Files\NodeJS\node_modules\serialport
verbose renamed [ 'c:\Program Files\NodeJS\node_modules\___serialport.npm\package',
verbose renamed 'c:\Program Files\NodeJS\node_modules\serialport' ]
verbose caching c:\Program Files\NodeJS\node_modules\serialport\package.json
verbose loadDefaults serialport@0.6.3
info preinstall serialport@0.6.3
verbose from cache c:\Program Files\NodeJS\node_modules\serialport\package.json
verbose into c:\Program Files\NodeJS\node_modules\serialport []
silly resolved []
verbose about to build c:\Program Files\NodeJS\node_modules\serialport
info build c:\Program Files\NodeJS\node_modules\serialport
verbose from cache c:\Program Files\NodeJS\node_modules\serialport\package.json
verbose linkStuff [ false, false, false, 'c:\Program Files\NodeJS\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:\Program Files\NodeJS\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\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:\Program Files\NodeJS\node_modules\serialport
verbose from cache c:\Program Files\NodeJS\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:\Program Files\NodeJS\node_modules',
verbose unbuild serialport@0.6.3 'c:\Program Files\NodeJS\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.7600
ERR! command "c:\Program Files\NodeJS\\node.exe" "c:\Program Files\NodeJS\node_modules\npm\bin\npm-cli.js" "install" "serialport"
ERR! cwd c:\Program Files\NodeJS
ERR! node -v v0.6.5
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 ]

will attempt the following solutions :

1) Not sure how to proceede from here, so I will just try copy and pasting the package from the npm-cache into my node modules dir

[your user path]\AppData\Roaming\npm-cache\serialport\0.6.3\package
to
[your nodeJS installation path]\node_modules\serialport
-> if this does not work I expect a new error

@RIAEvangelist

1) Copy and pasted npm serialport cache to node modules folder
2) Ran test _read and came up with the following error

CMD Display :

c:\Program Files\NodeJS\node_modules\serialport\tests>node test_read.js

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module './serialport_native'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (c:\Program Files\NodeJS\node_modules\serialport\seria
lport.js:11:28)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)

solution attempts :
1) will attempt fresh manual serialport install from git repo
->if this doesn't work I expect it to be a windows pathing issue

2) will attempt to update the pagcage.json file path to work on windows
->if this doesnt work the world has either ended or a new error has occurred

@RIAEvangelist

the world has ended

need to build serialport_native and install

@RIAEvangelist

I have completely uninstalled the win-nodeJS installation and started from scratch with the actual nodeJS windows msi found at : http://nodejs.org/#download

this seems promising and has led me to the following windows permission error when running npm install serialport

cmd display :

npm ERR! Could not create c:\Program Files\NodeJS\node_modules___serialport.npm

npm ERR! error installing serialport@0.6.3 Error: EACCES, permission denied 'c:\
Program Files\NodeJS\node_modules___serialport.npm'
npm ERR! Error: EACCES, permission denied 'c:\Program Files\NodeJS\node_modules\
___serialport.npm'
npm ERR! Report this entire log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com
npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command "c:\Program Files\NodeJS\\node.exe" "c:\Program Files\Nod
eJS\node_modules\npm\bin\npm-cli.js" "install" "serialport"
npm ERR! cwd c:\Program Files\NodeJS
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.1.0-alpha-6
npm ERR! path c:\Program Files\NodeJS\node_modules___serialport.npm
npm ERR! code EACCES
npm ERR! message EACCES, permission denied 'c:\Program Files\NodeJS\node_modules
___serialport.npm'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! c:\Program Files\NodeJS\npm-debug.log
npm not ok

log file :

info it worked if it ends with ok
verbose cli [ 'c:\Program Files\NodeJS\\node.exe',
verbose cli 'c:\Program Files\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.5
verbose config file C:\Users\Foxy.npmrc
verbose config file c:\Program Files\NodeJS\etc\npmrc
verbose config file c:\Program Files\NodeJS\node_modules\npm\npmrc
verbose mkdir done: c:\Program Files\NodeJS 755
verbose caching c:\Program Files\NodeJS\node_modules\npm\package.json
verbose loadDefaults npm@1.1.0-alpha-6
verbose into c:\Program Files\NodeJS [ '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: 'Sun, 04 Dec 2011 20:46:08 GMT',
silly get cb 'content-length': '0' } ]
verbose etag serialport from cache
verbose mkdir done: C:\Users\Foxy\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: 'Sun, 04 Dec 2011 20:46:09 GMT',
silly get cb 'content-length': '0' } ]
verbose etag serialport/0.6.3 from cache
verbose mkdir done: C:\Users\Foxy\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.11-win32-ia32-6.1.7600',
verbose bin dist { shasum: '4ddcbaa239da037ddeb01866b46bb13d46892c28',
verbose bin dist tarball: 'http://registry.npmjs.org/serialport/-/serialport-0.6.3.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/serialport/-/serialport-0.6.3.tgz',
verbose addRemoteTarball '4ddcbaa239da037ddeb01866b46bb13d46892c28' ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741'
verbose mkdir done: C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741 755
info fetch https://registry.npmjs.org/serialport/-/serialport-0.6.3.tgz
verbose fetch to C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741\tmp.tgz
verbose mkdir done: C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741 755
silly updated sha bytes 10240
info shasum 4ddcbaa239da037ddeb01866b46bb13d46892c28
info shasum C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741\tmp.tgz
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741___package.npm'
verbose mkdir done: C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741___package.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741\package
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741___package.npm\package
verbose rm'ed C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741\package
verbose renamed [ 'C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741\__package.npm\package',
verbose renamed 'C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741\package' ]
verbose caching C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741\package\package.json
verbose loadDefaults serialport@0.6.3
verbose tarball contents [ 'package', 'tmp.tgz' ]
verbose from cache C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741\package\package.json
verbose pack C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741\package C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package.tgz
silly makeList C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741\package
silly dir, dirLen [ 'C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741\package',
silly dir, dirLen 92 ]
verbose tarball C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package.tgz
verbose parent C:\Users\Foxy\AppData\Local\Temp\npm-1323031568816\1323031568816-0.7987778130918741\package
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3___package.npm'
verbose mkdir done: C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3___package.npm 755
verbose unpack
uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3___package.npm\package
verbose rm'ed C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package
verbose renamed [ 'C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\___package.npm\package',
verbose renamed 'C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package' ]
verbose caching C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package\package.json
verbose loadDefaults serialport@0.6.3
silly updated sha bytes 7947
info shasum 62cff3508d67f0fc117e836a34fbd29aa8ad79a1
info shasum C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package.tgz
verbose from cache C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package\package.json
verbose chmod C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package.tgz 644
silly skipping chown for windows C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package.tgz
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.5',
silly resolved _defaultsLoaded: true,
silly resolved dist: { shasum: '62cff3508d67f0fc117e836a34fbd29aa8ad79a1' } } ]
info into c:\Program Files\NodeJS serialport@0.6.3
info installOne serialport@0.6.3
info unbuild c:\Program Files\NodeJS\node_modules\serialport
verbose from cache C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package\package.json
verbose mkdir (expected) error ENOENT, no such file or directory 'c:\Program Files\NodeJS\node_modules___serialport.npm'
verbose unpack
uid, gid [ undefined, undefined ]
verbose unpackTarget c:\Program Files\NodeJS\node_modules\serialport
ERR! Could not create c:\Program Files\NodeJS\node_modules___serialport.npm
ERR! error installing serialport@0.6.3 Error: EACCES, permission denied 'c:\Program Files\NodeJS\node_modules___serialport.npm'
info unbuild c:\Program Files\NodeJS\node_modules\serialport
verbose installOne cb serialport@0.6.3
ERR! Error: EACCES, permission denied 'c:\Program Files\NodeJS\node_modules___serialport.npm'
ERR! Report this entire log at:
ERR! http://github.com/isaacs/npm/issues
ERR! or email it to:
ERR! npm-@googlegroups.com
ERR!
ERR! System Windows_NT 6.1.7600
ERR! command "c:\Program Files\NodeJS\\node.exe" "c:\Program Files\NodeJS\node_modules\npm\bin\npm-cli.js" "install" "serialport"
ERR! cwd c:\Program Files\NodeJS
ERR! node -v v0.6.5
ERR! npm -v 1.1.0-alpha-6
ERR! path c:\Program Files\NodeJS\node_modules___serialport.npm
ERR! code EACCES
ERR! message EACCES, permission denied 'c:\Program Files\NodeJS\node_modules___serialport.npm'
verbose exit [ 1, true ]

solutions I will attempt :
fix permissions

@RIAEvangelist

took ownership but problem persists, I believe this is an npm issue researching

@RIAEvangelist

This time I ran the cmd prompt as administrator and got the following errors :

cmd display :

serialport@0.6.3 install c:\Program Files\NodeJS\node_modules\serialport
cd serialport_native;node-waf configure build;cp build/Release/serialport_nati
ve.node ../

The system cannot find the path specified.
npm 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.no
de ../

npm 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
npm ERR! error installing serialport@0.6.3 at ChildProcess. (c:\P
rogram Files\NodeJS\node_modules\npm\lib\utils\exec.js:49:20)
npm ERR! error installing serialport@0.6.3 at ChildProcess.emit (events.js:7
0:17)
npm ERR! error installing serialport@0.6.3 at maybeExit (child_process.js:35
9:16)
npm ERR! error installing serialport@0.6.3 at Process.onexit (child_process.
js:395:5)
npm ERR! serialport@0.6.3 install: cd serialport_native;node-waf configure buil
d;cp build/Release/serialport_native.node ../

npm ERR! cmd "/c" "cd serialport_native;node-waf configure build;cp build/Relea
se/serialport_native.node ../"
failed with 1
npm ERR!
npm ERR! Failed at the serialport@0.6.3 install script.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd serialport_native;node-waf configure build;cp build/Release/seri
alport_native.node ../
npm ERR! You can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command "c:\Program Files\NodeJS\\node.exe" "c:\Program Files\Nod
eJS\node_modules\npm\bin\npm-cli.js" "install" "serialport"
npm ERR! cwd c:\Program Files\NodeJS
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.1.0-alpha-6
npm ERR! code ELIFECYCLE
npm ERR! message serialport@0.6.3 install: cd serialport_native;node-waf config
ure build;cp build/Release/serialport_native.node ../

npm ERR! message cmd "/c" "cd serialport_native;node-waf configure build;cp bui
ld/Release/serialport_native.node ../"
failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! c:\Program Files\NodeJS\npm-debug.log
npm not ok

log file:

info it worked if it ends with ok
verbose cli [ 'c:\Program Files\NodeJS\\node.exe',
verbose cli 'c:\Program Files\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.5
verbose config file C:\Users\Foxy.npmrc
verbose config file c:\Program Files\NodeJS\etc\npmrc
verbose config file c:\Program Files\NodeJS\node_modules\npm\npmrc
verbose mkdir done: c:\Program Files\NodeJS 755
verbose caching c:\Program Files\NodeJS\node_modules\npm\package.json
verbose loadDefaults npm@1.1.0-alpha-6
verbose into c:\Program Files\NodeJS [ '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: 'Sun, 04 Dec 2011 21:15:37 GMT',
silly get cb 'content-length': '0' } ]
verbose etag serialport from cache
verbose mkdir done: C:\Users\Foxy\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: 'Sun, 04 Dec 2011 21:15:38 GMT',
silly get cb 'content-length': '0' } ]
verbose etag serialport/0.6.3 from cache
verbose mkdir done: C:\Users\Foxy\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.11-win32-ia32-6.1.7600',
verbose bin dist { shasum: '4ddcbaa239da037ddeb01866b46bb13d46892c28',
verbose bin dist tarball: 'http://registry.npmjs.org/serialport/-/serialport-0.6.3.tgz' } ]
verbose caching C:\Users\Foxy\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.5',
silly resolved _defaultsLoaded: true } ]
info into c:\Program Files\NodeJS serialport@0.6.3
info installOne serialport@0.6.3
info unbuild c:\Program Files\NodeJS\node_modules\serialport
verbose caching c:\Program Files\NodeJS\node_modules\serialport\package.json
verbose loadDefaults serialport@0.6.3
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:\Program Files\NodeJS\node_modules',
verbose unbuild serialport@0.6.3 'c:\Program Files\NodeJS\node_modules' ]
info postuninstall serialport@0.6.3
verbose from cache C:\Users\Foxy\AppData\Roaming\npm-cache\serialport\0.6.3\package\package.json
verbose mkdir (expected) error ENOENT, no such file or directory 'c:\Program Files\NodeJS\node_modules___serialport.npm'
verbose mkdir done: c:\Program Files\NodeJS\node_modules___serialport.npm 755
verbose unpack
uid, gid [ undefined, undefined ]
verbose unpackTarget c:\Program Files\NodeJS\node_modules\serialport
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed c:\Program Files\NodeJS\node_modules___serialport.npm\package
verbose rm'ed c:\Program Files\NodeJS\node_modules\serialport
verbose renamed [ 'c:\Program Files\NodeJS\node_modules\___serialport.npm\package',
verbose renamed 'c:\Program Files\NodeJS\node_modules\serialport' ]
verbose caching c:\Program Files\NodeJS\node_modules\serialport\package.json
verbose loadDefaults serialport@0.6.3
info preinstall serialport@0.6.3
verbose from cache c:\Program Files\NodeJS\node_modules\serialport\package.json
verbose into c:\Program Files\NodeJS\node_modules\serialport []
silly resolved []
verbose about to build c:\Program Files\NodeJS\node_modules\serialport
info build c:\Program Files\NodeJS\node_modules\serialport
verbose from cache c:\Program Files\NodeJS\node_modules\serialport\package.json
verbose linkStuff [ false, false, false, 'c:\Program Files\NodeJS\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:\Program Files\NodeJS\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\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:\Program Files\NodeJS\node_modules\serialport
verbose from cache c:\Program Files\NodeJS\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:\Program Files\NodeJS\node_modules',
verbose unbuild serialport@0.6.3 'c:\Program Files\NodeJS\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.7600
ERR! command "c:\Program Files\NodeJS\\node.exe" "c:\Program Files\NodeJS\node_modules\npm\bin\npm-cli.js" "install" "serialport"
ERR! cwd c:\Program Files\NodeJS
ERR! node -v v0.6.5
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 ]

@RIAEvangelist

Posted issue to npm, issue currently unresolvable.

npm/npm#1834 (comment)

@RIAEvangelist

My suggestion for now until the NodeJS version for windows can compile binaries is to use something like serproxy and socket.io

http://www.arduino.cc/en/Main/Software

@voodootikigod voodootikigod reopened this
@voodootikigod

This is due to issues with the cross compilation within node-waf which is being removed from the build process of node. I am working with the MS team to make node-serialport work on Windows - updates will be posted here.

@RIAEvangelist

Any idea as to time frame?

@jaredhanson

I've created a windows-support branch in my fork here:
https://github.com/jaredhanson/node-serialport/tree/windows-support

It's not complete yet, but its getting close. I've implemented a set of uv_com functions which mirror those in uv_fs, but operate on Windows COM ports. I think much of serialport_native can be made to use uv_fs on POSIX and uv_com on Windows. Going that route, fully asynchronous open, close, and write operations will fall out naturally.

Take a look, and feel free to contribute and send feedback.

@RIAEvangelist

Can't wait to see more. Is there a document explaining the current issues and expected updates with this branch?

@shotlom

I'm trying to install on Windows7 64bit as admin and escalating the dos window to admin but still getting an error: EPERM, operation not permitted. @jaredhanson, has there been any progress with the MS team?

@bangonkali

Guys, I'm looking forward to a fix for this problem. Still can't install on my Windows 7 SP1 64bit system. Thank you for this great system though! It just makes things easy! Thank you very much. Hoping for a quick resolution to this problem!

@richkzad

Put me down for really wishing that a Windows-compatible version existed!

@TooTallNate

@jaredhanson's branch looks like a good start. The module.gyp file needs to be renamed to binding.gyp for npm/node-gyp, and needs some conditionals for cross-platform support. Feel free to reach out for any help there.

@jaredhanson

@TooTallNate It's been a bit since I dug into this work, but I agree it'd be nice to get it finished.

I'm short on details at the moment, but I seem to recall that COM ports need special treatment to fully integrate IOCP on Windows. COM port I/O, and this module, would be simple if those flags could make their way into libuv. Now that you're on core, is there any chance of that happening?

I did some preliminary experiments in this direction, I'll dig them up and see if anything is useful.

@TooTallNate

@jaredhanson You should talk to @piscisaureus regarding the Windows stuff (try IRC).

@shixish

Any changes here?

@richkzad

I ended up writing a simple python program w/ pySerial that pretty much acts as a proxy to the serial port via stdin/stdout. Gets me by for now, and it's cross-platform.

@bangonkali
@joeferner
Collaborator

Sorry if this is a little spam'y but I've written a module from the ground up with windows in mind https://github.com/joeferner/node-serialport2 It also has been tested on linux and OSX.

@voodootikigod

We (@joeferner and I) have merged branches and released 1.0.0 - it has windows support.

@RIAEvangelist

Still does not seem to install on 64bit windows 7

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform
.Targets(23,7): error MSB8007: The Platform for project 'serialport.vcxproj' is
invalid. Platform='x64'. You may be seeing this message because you are tryin
g to build a project without a solution file, and have specified a non-default
Platform that doesn't exist for this project. [C:\Users\toneDeaf\Documents\GitH
ub\nodePhidgetAPI\node_modules\serialport\build\serialport.vcxproj]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.