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
cannot install noble on RPI3 #707
Comments
Why are you installing noble globally? |
I was proposing to use noble for node-red applications and also my own node applications. However, I have tried to install noble locally in the ~/.node-red directory but get the error: npm ERR! path /home/pi/.node-red/node_modules/noble When I try to install just in the home directory I get the error:
Followed by lots of errors: An ideas of the problem? |
I think you might have SD card corruption problems, sometimes this causes the SD card to become unwritable which might be reported as a permission error. Could you try just creating a file in your home directory? |
I have no problems installing other npm modules locally and globally, so there appears to be no problem with the SD card. Also, because I have spent a lot of time trying to compile the code from source and installing many different ways, I re-imaged my SD card with a new image and I am still having problems with only this module whereas all other functions such as apt-get update and apt-get install work fine. |
@lachlan-peter have you found solution tho this problem? Experiencing similar behavior on my rpi3.
|
Please try installing using |
Ok, got some better results
But I'm not sure if this means everything compiled and is ok. How to check if noble installed properly? |
I have same problem like you, have been trying to find a solution for days. But it seems that it is still not correctly installed. The program that needs it says problem in noble. Any ideas what else can be wrong? Before installing noble I used the command |
May I ask why this issue is closed while everyone (including me) having the same problem while no solution is given? |
having the same problem on MAC OS |
This ticket should be reopened. On a fresh Raspbian install noble is still not compiling on RPi3.
The exact commands I ran were:
using using node v12 has no effect |
Have RPI3 running latest OS (Linux 4.9) [Stretch-lite) and latest nodejs (8.9 LTS) and loaded:
$ sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev bluez build-essential
and trying to install noble using:
$ sudo npm install -g noble
Fails with:
WARN checkPermissions Missing write acccess to /home/pi/noble/node_modules/xpc-connection
WARN checkPermissions Missing write access to /home/pi/noble/node_modules
ERR path /home/pi/noble/node_modules/xpc-connection
Dont know why it is installing in local directory and not in /usr/lib/node_modules
Also dont know how to overcome the permissions problem.
Tried with the --build-from-source option and getting lots of permission denied errors. This at least put the module in /usr/lib/node_modules.
Also tried downloading from git
$ git clone https://github.com/sandeepmistry/noble.git
$ cd noble
create bindings file with source -> index.js
$ node-gyp configure
$ node-gyp build
But also get errors
Others seem to be running noble on rpi ok. Maybe its because I am running a minimal version of 'stretch' and something is missing. Maybe noble is not compatible with node 8.9 LTS. Other node modules load ok such as socket.io, node-red, and others. Serialport i have to compile for armhf machine but works ok.
Any suggestions on where to look?
Lachlan
The text was updated successfully, but these errors were encountered: