poolgold / z-nomp-bitcoin-gold

z-nomp is mining pool software for Zcash and Zclassic so you can create internet money in your home!
MIT License
24 stars 26 forks source link

log startup error #17

Closed jamiejacksoncumbria closed 6 years ago

jamiejacksoncumbria commented 6 years ago

Hi when starting znomp-bitcoin-gold I get the following erreor and cant seem to resolve it can anyone help please. Many Thanks

z-nomp@0.0.4 start /home/jamie/z-nomp-bitcoin-gold

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ node init.js

/home/jamie/z-nomp-bitcoin-gold/libs/logUtil.js:31 var logDir = conflog.logging.files.directory; ^

TypeError: Cannot read property 'files' of undefined at Object. (/home/jamie/z-nomp-bitcoin-gold/libs/logUtil.js:31:30) at Module._compile (module.js:641:30) at Object.Module._extensions..js (module.js:652:10) at Module.load (module.js:560:32) at tryModuleLoad (module.js:503:12) at Function.Module._load (module.js:495:3) at Module.require (module.js:585:17) at require (internal/module.js:11:18) at Object. (/home/jamie/z-nomp-bitcoin-gold/init.js:11:18) at Module._compile (module.js:641:30) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! z-nomp@0.0.4 start: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ node init.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the z-nomp@0.0.4 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/jamie/.npm/_logs/2017-12-08T03_07_18_792Z-debug.log

martin-key commented 6 years ago

Never met this error.

jamiejacksoncumbria commented 6 years ago

Fixed this. Problem was a problem with config.json. I started again from fresh with the config and it fixed it.