truffle-hdwallet-provider
truffle-hdwallet-provider copied to clipboard
npm install truffle-hdwallet-provider install fail
npm install truffle-hdwallet-provider
[email protected] preinstall /Users/LPW/node_modules/scrypt node node-scrypt-preinstall.js
[email protected] install /Users/LPW/node_modules/scrypt node-gyp rebuild
SOLINK_MODULE(target) Release/copied_files.node CC(target) Release/obj.target/scrypt_wrapper/src/util/memlimit.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 LIBTOOL-STATIC Release/scrypt_wrapper.a libtool: unrecognized option -static' libtool: Trylibtool --help' for more information. make: * [Release/scrypt_wrapper.a] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12) gyp ERR! System Darwin 17.5.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/LPW/node_modules/scrypt gyp ERR! node -v v10.6.0 gyp ERR! node-gyp -v v3.7.0 gyp ERR! not ok npm WARN [email protected] No description npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
mac ox: 10.13.4 node v10.6.0 node-gyp v3.7.0 npm V6.2
is this now fix?
is this fixed ? same issue occuring when I try install the hd-walletprovider
Node v12.4.0
npm 6.9.0
Truffle v5.0.24 (core: 5.0.24)
Log:
8189 error errno 1
8190 error [email protected] install: node-gyp rebuild
8190 error Exit status 1
8191 error Failed at the [email protected] install script.
8191 error This is probably not a problem with npm. There is likely additional logging output above.
8192 verbose exit [ 1, true ]
How to solve it?
I fixed by switching to node 11.15.0. Install will fail on a version > 12
trying to install truffle-hdwallet-provider using node v 10.16.0 but is fail