zone117x / node-cryptonote-pool

Mining pool for CryptoNote based coins such as Bytecoin and Monero
GNU General Public License v2.0
823 stars 1.14k forks source link

Ubuntu 18.04 | node v0.10.48 | Failed at the cryptonote-util@0.0.3 install script 'node-gyp rebuild'. #336

Closed alphaaurigae closed 6 years ago

alphaaurigae commented 6 years ago

my setup script https://hastebin.com/herikomele.bash

ERR below on 18.04

 SOLINK_MODULE(target) Release/obj.target/multihashing.node
  COPY Release/multihashing.node
make: Leaving directory '/opt/Crypto_Coin-Pools/node-cryptonote-pool/zone117x/node-cryptonote-pool/node_modules/multi-hashing/build'
multi-hashing@0.0.9 node_modules/multi-hashing
npm ERR! Linux 4.15.0-22-generic
npm ERR! argv "/opt/DEPS/nvm/creationix/nvm/v0.10.48/bin/node" "/opt/DEPS/nvm/creationix/nvm/v0.10.48/bin/npm" "update"
npm ERR! node v0.10.48
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE

npm ERR! cryptonote-util@0.0.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the cryptonote-util@0.0.3 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the cryptonote-util package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs cryptonote-util
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls cryptonote-util
npm ERR! There is likely additional logging output above.
peipeitu commented 5 years ago

Did you fix this problem?

alphaaurigae commented 5 years ago

not on 18.04 as i remember went back to 16.04

peipeitu commented 5 years ago

not on 18.04 as i remember went back to 16.04

I solved it just now on 18.04. https://github.com/zone117x/node-cryptonote-pool/issues/93#issuecomment-157628147 I changed the path of cryptonote-util, and it worked!

alphaaurigae commented 5 years ago

thx for the note, maybe useful further on.