On the same day, a problem arises.
I was on Node 0.10.29, which supposedly should work. Updated to Node 0.10.38, but this did not solve the problem.
I worked on debian (jessy), and npm was installed there, pulling out the old version of node -gyp as a dependency. 0.2.0 I find that for npm 1.4.x.
Installing a new version of node -gyp through npm install -g solved the problem. (After some symbolic links are changed to point to a new node -gyp).
source share