Cannot install
So, I'm using nvm, here are the versions i run :
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
npm ERR! npm v2.11.3
I run npm install
, it fails on scrypt build :
> scrypt@4.0.7 install /home/ucoin/ucoin/node_modules/scrypt
> node-gyp rebuild
make: Entering directory `/home/ucoin/ucoin/node_modules/scrypt/build'
COPY ../scrypt/scrypt-1.1.6/config.h
SOLINK_MODULE(target) Release/obj.target/copied_files.node
COPY Release/copied_files.node
CC(target) Release/obj.target/scrypt_wrapper/src/util/salt.o
CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/keyderivation.o
CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/pickparams.o
CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/hash.o
AR(target) Release/obj.target/scrypt_wrapper.a
COPY Release/scrypt_wrapper.a
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.1.6/lib/crypto/sha256.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.1.6/lib/crypto/crypto_scrypt-sse.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.1.6/lib/scryptenc/scryptenc_cpuperf.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.1.6/lib/util/memlimit.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.1.6/lib/scryptenc/scryptenc.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.1.6/lib/crypto/crypto_aesctr.o
AR(target) Release/obj.target/scrypt_lib.a
COPY Release/scrypt_lib.a
CXX(target) Release/obj.target/scrypt/scrypt_node.o
../scrypt_node.cc:28:17: fatal error: nan.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/scrypt/scrypt_node.o] Error 1
make: Leaving directory `/home/ucoin/ucoin/node_modules/scrypt/build'
gyp ERR! build error