truffle-hdwallet-provider icon indicating copy to clipboard operation
truffle-hdwallet-provider copied to clipboard

npm install truffle-hdwallet-provider install fail

Open lpwlpw opened this issue 6 years ago • 6 comments

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.

lpwlpw avatar Jul 28 '18 11:07 lpwlpw

mac ox: 10.13.4 node v10.6.0 node-gyp v3.7.0 npm V6.2

lpwlpw avatar Jul 28 '18 11:07 lpwlpw

is this now fix?

kd-s-t avatar Nov 20 '18 11:11 kd-s-t

is this fixed ? same issue occuring when I try install the hd-walletprovider

dubirl avatar Dec 04 '18 23:12 dubirl

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?

mishell-trickster avatar Jun 27 '19 13:06 mishell-trickster

I fixed by switching to node 11.15.0. Install will fail on a version > 12

JoshuaBrown avatar Jul 01 '19 00:07 JoshuaBrown

trying to install truffle-hdwallet-provider using node v 10.16.0 but is fail

largo87 avatar Sep 16 '19 08:09 largo87