I’ve been doing some research and according to some other threads it’s possible that you first have to compile mraa after compiling node. Another option would be that an older version of node is still present on the board and is being chosen instead of the node 0.12.5. And one last possibility is that mraa requires an npm-gyp rebuild, as it’s specified in this thread https://communities.intel.com/thread/93530.
By now I have heard about 2 success stories with 0.12.5 and mraa. I myself also ran into issues. Maybe someone could post the steps to have 0.12.5 and mraa working together.
That said Node 4.x, and 5.x seem to work easier together with mraa.
Might make more sense to move to there?
How do you locate where mraa is in order to recompile it? and to recompile I just have to run the make command right?
I was able to use mraa using node 0.12.7 (installed by the AlexT repository). The trick is to add to the to the dependencies section of package.json file this line:
It is important to use the 0.8.0 because latest version 0.8.1 doesn't work. I hope this workaround can work also on node 0.12.5.
I'd like Intel will release a new image with node 0.12 preinstalled.