Yes, I did, after every node change via nvm just to be sure. I also tried with sudo just in case.
I also think that the example code from @abandonware/noble worked ok with node 8.6.0 to detect the device, but even in this I could not get it to work on espruino, and got into a rabbit hole with gyp, but I'm not 100% sure because there was a lot of tries in different scenarios.
I always got the Error: No Ports Found at the end, after a few seconds.
On a side note, I also thought it would be easier on linux, that's why I'm assuming it's some odd thing on my installation, I'll wait to see if the code from @pelrun works out, if not I'll explore more on this (like trying on a vanilla ubuntu vm).
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, I did, after every node change via nvm just to be sure. I also tried with sudo just in case.
I also think that the example code from @abandonware/noble worked ok with node 8.6.0 to detect the device, but even in this I could not get it to work on espruino, and got into a rabbit hole with gyp, but I'm not 100% sure because there was a lot of tries in different scenarios.
I always got the
Error: No Ports Found
at the end, after a few seconds.On a side note, I also thought it would be easier on linux, that's why I'm assuming it's some odd thing on my installation, I'll wait to see if the code from @pelrun works out, if not I'll explore more on this (like trying on a vanilla ubuntu vm).