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
serialport.list returns no data #442
Comments
Can you give us some sample code? What version of node are you running? And lastly, What does the serialportlist command output? (you might have to find it in your |
Yeah... pretty simple... The array printed is empty. "[]" require('serialport').list(function (err, results)
}); |
The version of node, and the version of windows? |
Node is 0.10.32 and windows is 8.1. Note I do not have the issue on OSX. Sent from my iPhone
|
I have the same issues on windows 8.1 with Node 0.10.32 |
Have you installed the FTDI drivers On Monday, January 19, 2015, Alex W notifications@github.com wrote:
Chris Williams @voodootikigod http://twitter.com/voodootikigod | GitHub Maker of Improbable Things: JSConf http://jsconf.com/ | RobotsConf |
So I have drivers for the devices installed. I did not however install anything from the FTDrivers site. Is this required if you already have drivers installed? |
Can anything see the com port?
|
I am seeing the same thing on TurnKey Linux 12.0 / Debian 6.0.10 Squeeze. I did noticed is that in "serialport.js" Line: 658. The default (for my platform) is "listUnix". My "process.platform" equates to "Linux". Looking at "listUnix" line 510 and 525, '/dev/serial/by-id' is used. It doesn't look like that is used on (at least my version of) Linux. It looks like it separates out the device types. find /dev -name "by-id" For reference: uname -a node -v |
@24X7 can you run |
node -e 'console.log(process.platform)' |
I also get the same on my raspberry pi uname -a node -e 'console.log(process.platform)' |
@haydockjp you probably have a similar but different issue then @24X7 |
Sorry, I think I should be watching #343 |
Closed with no response from original poster |
I have this same issue on windows 7, with node version 6.9.5 and serialport v4.0.7, _
_ Also I tried with the following code
And finally tried to run the (node serialport-list.js) directly from the bin . It never shows anything. Can someone please help me ? |
Can you open a new issue and fill out the template? |
I have a MacBook Pro running windows bootcamp (does not seem to be the issue though) and it is not able to list any of the ports nor connect. Am I missing something?
The text was updated successfully, but these errors were encountered: