-
Notifications
You must be signed in to change notification settings - Fork 31
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
Doesn't work with node 8.0.0 #19
Comments
Here's the log file the error is talking about: |
These are the interesting lines. Especially the one about permissions.
|
This normally happens when trying to do the install offline. This udev module depends on the prebuilt c++ node headers. You need to the build once on the internet or you need pre download the files into the .node-gyp folder. This is an issue with the environment of the machine not with the udev module. |
@nbroeking or @cheery are you able to install and run on a rPi with node 8.x? I've got a lot of errors, most the same as above I had it working before, but I broke my SD card. Can't remember how it worked :(. |
@zoutepopcorn I will try this. It's been a while I've popped up rPi and used it for something. I probably use the newest one I have, it's probably rPi 2 or rPi 3. I'll tell how it went later this week. |
Maybe this did the trick last time
But have to test it later on the pi |
@zoutepopcorn I loaded raspbian lite version and tried things out. Here's what I found out. It would appear that debian renames I skipped the issue by adding a symbolic link Another thing I did was I installed udev C headers with the following apt command:
Then it worked. Though the steps I took didn't reproduce this issue. Unless it's the same problems as here, just manifesting in some illegible manner. |
Great. This article pointed me howto install: https://community.roonlabs.com/t/howto-powermate-extension-on-a-raspberry-pi/23819 You can get your nodejs info to install on the pi using:
And then download the right one
@mortie is this working for you? |
I think this issue can be closed. I just tried compiling it on an RPi 4 running the latest Raspbian (September 2019) with the latest 8.x (8.16.2) and it seems to work fine. Also builds for 10.x though not for 12.x, which is being tracked in #30 |
You're right. Lets close it. |
The console output from
sudo npm install -g udev
The text was updated successfully, but these errors were encountered: