This looks like this issue:
https://github.com/nodejs/node/issues/2341
Basically node-gyp is really dumb in handling libtool. Putting darwin.cctools
in nativeBuildInputs should fix this for you. But to be clear this is a node-gyp bug, not a Nixpkgs one!