You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try different versions of nodejs (8/10/11) none of them worked with me by using this repo.
When I run nodejs init.js, I got this error:
node init.js -config=kva.json
2021-02-20 21:19:45 [master] Starting Cryptonote Node.JS pool version v2.0.0
2021-02-20 21:19:45 [master] Developer donation (devDonation) is set to 0.1%, Please consider raising it to 0.2% or higher !!!
2021-02-20 21:19:45 [master] Pool spawned on 4 thread(s)
/root/pool/lib/utils.js:27
var addressBase58Prefix = config.poolServer.pubAddressPrefix ? parseInt(config.poolServer.pubAddressPrefix) : parseInt(cnUtil.address_decode(Buffer.from(config.poolServer.poolAddress)).toString());
^
TypeError: Cannot read property 'toString' of undefined
at Object. (/root/pool/lib/utils.js:27:185)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/root/pool/lib/daemon.js:1:13)
at Module._compile (internal/modules/cjs/loader.js:778:30)
2021-02-20 21:19:46 [master] Daemon died, spawning replacement...
TypeError: Cannot read property 'toString' of undefined
at Object. (/root/pool/lib/utils.js:27:185)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/root/pool/lib/notifications.js:16:13)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/root/pool/lib/pool.js:16:21)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
What is this means?
By the way, I try another repo with nodejs version 8, and somehow it worked.
Any idea, what I have missed here?
The text was updated successfully, but these errors were encountered:
Hello, checking to see if there is any traction on this? I see other projects running this nodejs and kevacoin, so I assuming KVA is supported, but just has a different config.
I try different versions of nodejs (8/10/11) none of them worked with me by using this repo.
When I run nodejs init.js, I got this error:
node init.js -config=kva.json
2021-02-20 21:19:45 [master] Starting Cryptonote Node.JS pool version v2.0.0
2021-02-20 21:19:45 [master] Developer donation (devDonation) is set to 0.1%, Please consider raising it to 0.2% or higher !!!
2021-02-20 21:19:45 [master] Pool spawned on 4 thread(s)
/root/pool/lib/utils.js:27
var addressBase58Prefix = config.poolServer.pubAddressPrefix ? parseInt(config.poolServer.pubAddressPrefix) : parseInt(cnUtil.address_decode(Buffer.from(config.poolServer.poolAddress)).toString());
^
TypeError: Cannot read property 'toString' of undefined
at Object. (/root/pool/lib/utils.js:27:185)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/root/pool/lib/daemon.js:1:13)
at Module._compile (internal/modules/cjs/loader.js:778:30)
2021-02-20 21:19:46 [master] Daemon died, spawning replacement...
TypeError: Cannot read property 'toString' of undefined
at Object. (/root/pool/lib/utils.js:27:185)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/root/pool/lib/notifications.js:16:13)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/root/pool/lib/pool.js:16:21)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
What is this means?
By the way, I try another repo with nodejs version 8, and somehow it worked.
Any idea, what I have missed here?
The text was updated successfully, but these errors were encountered: