I keep getting this, any ideas?
koinos-miner/index.js:73
threadIterations = 600000;
^
SyntaxError: Unexpected token =
at new Script (vm.js:74:7)
at createScript (vm.js:246:10)
at Object.runInThisContext (vm.js:298:10)
at Module._compile (internal/modules/cjs/loader.js:646:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Module.load (internal/modules/cjs/loader.js:589:32)
at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
at Function.Module._load (internal/modules/cjs/loader.js:520:3)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
You need to update your nodejs version. It should be greater than v10.
nodejs v12 helped, Edit: ok got it working, thanks!
You're running as root, therefore you need npm install --unsafe-perm
instead of
npm install`. Try again after that.Posted Using LeoFinance Beta
Yeap worked, cheers... so far nothing mined? Pow Height is 1
mining depends on your sharing (proof) frequency.
Posted Using LeoFinance Beta