LDarki / NodeJS-DuinoCoin-Miner

A Multi-Threaded Node.JS Miner for DuinoCoin
19 stars 25 forks source link

Error start script #4

Closed WarL0ckNet closed 2 years ago

WarL0ckNet commented 2 years ago
/NodeJS-DuinoCoin-Miner/index.js:143
    let poolJson = json[];
                        ^

SyntaxError: Unexpected token ']'
    at wrapSafe (internal/modules/cjs/loader.js:1001:16)
    at Module._compile (internal/modules/cjs/loader.js:1049:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
    at internal/main/run_main_module.js:17:47

node --version v14.18.2

npm --version 8.3.0

LDarki commented 2 years ago

Fixed, please check the last commit.

Ty.

WarL0ckNet commented 2 years ago

Thanks you