z-classic / node-stratum-pool

GNU General Public License v2.0
46 stars 155 forks source link

Error: [PoolSpawner] Fork 0 died, spawning replacement worker... #25

Closed gugukSI closed 6 years ago

gugukSI commented 7 years ago

/z-nomp/node_modules/stratum-pool/lib/merkleTree.js:9 return Object.values(result)[2].root; ^

TypeError: Object.values is not a function at calcRoot (/z-nomp/node_modules/stratum-pool/lib/merkleTree.js:9:19) at Object.exports.getRoot (/z-nomp/node_modules/stratum-pool/lib/merkleTree.js:20:18) at new BlockTemplate (/z-nomp/node_modules/stratum-pool/lib/blockTemplate.js:54:30) at JobManager.processTemplate (/z-nomp/node_modules/stratum-pool/lib/jobManager.js:150:32) at z-nomp/node_modules/stratum-pool/lib/pool.js:588:66 at itemFinished (/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36) at /z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17 at parseJson (/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17) at IncomingMessage. (/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17) at emitNone (events.js:91:20) [PoolSpawner] Fork 0 died, spawning replacement worker...

jmprcx commented 7 years ago

Which version of node are you running?

gugukSI commented 7 years ago

Currently run on version node -v v6.11.0

With node version v8.2.1 the same error node -v v8.2.1

sennevb commented 7 years ago

upgrade to v8, remove node_modules and run npm update / install again