Are you running espruino-server or espruino-web-ide? You should try with espruino-server as the web-ide package is notoriously difficult to get the bluetooth NPM packages installed for.
Also, you'll need to have run the command sudo setcap cap_net_raw+eip $(eval readlink -fwhich node) before first starting espruino-server, to give it permissions to access BLE
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.
Hi,
Are you running
espruino-server
orespruino-web-ide
? You should try withespruino-server
as the web-ide package is notoriously difficult to get the bluetooth NPM packages installed for.Also, you'll need to have run the command
sudo setcap cap_net_raw+eip $(eval readlink -f
which node)
before first starting espruino-server, to give it permissions to access BLE