beyondscreen/node-rpi-ws281x-native

Installation fails on current node-version

Closed this issue · 6 comments

I reinstalled Raspbian and installed the current node (v10.3.0 with npm v6.1.0).
Installation of rpi-ws281x-native failed during node-gyp rebuild.
Using nvm to use node v8.0.0 with npm v5.0.0 helped since it could be build now.

Logs (v10.3.0, npm v6.1.0):
2018-06-03T10_11_26_415Z-debug.log
terminal-output.txt

I'm definitely not a C/C++ programmer but I think I'll may further investigate this out of curiosity. But I'm not sure if I can help you with this. :/

Same problem here. Updating node-gyp to v3.7.0 didn't help either.
Also tried different versions, didn't help either.

Got it to work. Used Raspberian Jessie,
Stable node version for arm7 https://nodejs.org/dist/v8.11.2/node-v8.11.2-linux-armv7l.tar.xz
and version 0.8.2 of this lib

Yes, I got it to work with node 8.0.0 as mentioned above. But building should work on current version too since switching to an old version of node when using this module is neither comfortable, nor safe, I guess.

I'll have to look into this, but unfortunately I don't have a working setup around right now. If anyone wants to take it, I would suspect an outdated version of nan is the reason for this. Running npm install nan@latest and rebuilding might already solve that.

VS-X commented

This issue seems to be solved with the #79
@usefulthink can you please publish a new version to npm?

I just pushed out version 0.9.0 with all of these fixes. Probably the last version for the "old" 0.x branch. As I still don't have any working setup around, I will fully rely on this issue-tracker to see if something did go undetected.