--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/b99242f9-a75b-4572-9a55-fa396f738444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[noble] Error: Cannot find module 'bluetooth-hci-socket'
Any errors in the node-red log when it starts up?Nick
On 6 June 2017 at 15:56, Scott Chapman <scotted...@gmail.com> wrote:
So I have a new Rasp-Pi installation (all up to date, though I haven't run the "update-nodejs-and-nodered" command yet).I've installed the node-red-contrib-noble (since I want to do bluetooth scanning). And I can see that the node is there installed, but I am not able to enable it...Any ideas?
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
[ ....] \ extract:noble: verb gentlyRm don't care about contents; nuking /root/.node-red/node_modules/.staging/noble-292694d5/node_modulesI checked and that folder doesn't exist...
Fresh install and just updated
root@pizero:~/.node-red# npm install node-red-contrib-noble
> u...@1.2.0 install /root/.node-red/node_modules/usb
> node-pre-gyp install --fallback-to-build
sh: 1: node-pre-gyp: Permission denied
Run the following command:
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
This grants the node
binary cap_net_raw
privileges, so it can start/stop BLE advertising.
Note: The above command requires setcap
to be installed, it can be installed using the following:
sudo apt-get install libcap2-bin
su -c \'yum install libcap2-bin\'