-
-
Notifications
You must be signed in to change notification settings - Fork 1k
not installing in Win 7 #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am having the same issue, but I am using win-nodeJS (nodeJS 0.6.5) cmd display : npm ERR! prefix directory not found C:\Users\Foxy>npm install serialport LOG : Possible Solutions I am trying :
|
New issue details : CMD display :
The system cannot find the path specified. LOG File : info it worked if it ends with ok I will try the following solutions :
|
CMD display : npm WARN mongodb@0.9.6-23 package.json: bugs['web'] should probably be bugs['url
The system cannot find the path specified. LOG File : info it worked if it ends with ok will attempt the following solutions :
[your user path]\AppData\Roaming\npm-cache\serialport\0.6.3\package |
CMD Display : c:\Program Files\NodeJS\node_modules\serialport\tests>node test_read.js node.js:201 solution attempts :
|
the world has ended need to build serialport_native and install |
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: log file : info it worked if it ends with ok solutions I will attempt : |
took ownership but problem persists, I believe this is an npm issue researching |
This time I ran the cmd prompt as administrator and got the following errors : cmd display :
The system cannot find the path specified. log file: info it worked if it ends with ok |
Posted issue to npm, issue currently unresolvable. https://github.com/isaacs/npm/issues/1834#issuecomment-3009100 |
My suggestion for now until the NodeJS version for windows can compile binaries is to use something like serproxy and socket.io |
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. |
Any idea as to time frame? |
I've created a windows-support branch in my fork here: It's not complete yet, but its getting close. I've implemented a set of Take a look, and feel free to contribute and send feedback. |
Can't wait to see more. Is there a document explaining the current issues and expected updates with this branch? |
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? |
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! |
Put me down for really wishing that a Windows-compatible version existed! |
@jaredhanson's branch looks like a good start. The |
@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. |
@jaredhanson You should talk to @piscisaureus regarding the Windows stuff (try IRC). |
Any changes here? |
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. |
For windows users tinkerproxy-2_0 will be a great way to connect a com port On Mon, May 14, 2012 at 1:09 PM, Richard Z <
|
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. |
We (@joeferner and I) have merged branches and released 1.0.0 - it has windows support. |
Still does not seem to install on 64bit windows 7 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform |
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 1ERR! 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 1ERR!
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 1verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: