TheNetsky / Microsoft-Rewards-Script

Automated Microsoft Rewards script, using TypeScript, Cheerio and Playwright.
231 stars 51 forks source link

1.5 Fails to run with more than one cluster if parallel is set to false #180

Open AKH1701 opened 2 weeks ago

AKH1701 commented 2 weeks ago

Error (2 clusters):

node:events:495
      throw er; // Unhandled 'error' event
      ^

Error: setRawMode EIO
    at ReadStream.setRawMode (node:tty:77:31)
    at [_setRawMode] [as _setRawMode] (node:internal/readline/interface:381:18)
    at Interface.InterfaceConstructor (node:internal/readline/interface:317:22)
    at new Interface (node:readline:114:3)
    at Object.createInterface (node:readline:213:10)
    at Object.<anonymous> (/home/akh/Microsoft-Rewards-Script/dist/functions/Login.js:33:31)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
Emitted 'error' event on Interface instance at:
    at ReadStream.onerror (node:internal/readline/interface:246:10)
    at ReadStream.emit (node:events:517:28)
    at ReadStream.setRawMode (node:tty:77:10)
    at [_setRawMode] [as _setRawMode] (node:internal/readline/interface:381:18)
    [... lines matching original stack trace ...]
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) {
  errno: -5,
  code: 'EIO',
  syscall: 'setRawMode'
}

Node.js v18.19.1
node:events:495
      throw er; // Unhandled 'error' event
      ^

Error: setRawMode EIO
    at ReadStream.setRawMode (node:tty:77:31)
    at [_setRawMode] [as _setRawMode] (node:internal/readline/interface:381:18)
    at Interface.InterfaceConstructor (node:internal/readline/interface:317:22)
    at new Interface (node:readline:114:3)
    at Object.createInterface (node:readline:213:10)
    at Object.<anonymous> (/home/akh/Microsoft-Rewards-Script/dist/functions/Login.js:33:31)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
Emitted 'error' event on Interface instance at:
    at ReadStream.onerror (node:internal/readline/interface:246:10)
    at ReadStream.emit (node:events:517:28)
    at ReadStream.setRawMode (node:tty:77:10)
    at [_setRawMode] [as _setRawMode] (node:internal/readline/interface:381:18)
    [... lines matching original stack trace ...]
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) {
  errno: -5,
  code: 'EIO',
  syscall: 'setRawMode'
}

Node.js v18.19.1
node:events:495
      throw er; // Unhandled 'error' event
      ^

Error: setRawMode EIO
    at ReadStream.setRawMode (node:tty:77:31)
    at [_setRawMode] [as _setRawMode] (node:internal/readline/interface:381:18)
    at Interface.InterfaceConstructor (node:internal/readline/interface:317:22)
    at new Interface (node:readline:114:3)
    at Object.createInterface (node:readline:213:10)
    at Object.<anonymous> (/home/akh/Microsoft-Rewards-Script/dist/functions/Login.js:33:31)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
Emitted 'error' event on Interface instance at:
    at ReadStream.onerror (node:internal/readline/interface:246:10)
    at ReadStream.emit (node:events:517:28)
    at ReadStream.setRawMode (node:tty:77:10)
    at [_setRawMode] [as _setRawMode] (node:internal/readline/interface:381:18)
    [... lines matching original stack trace ...]
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) {
  errno: -5,
  code: 'EIO',
  syscall: 'setRawMode'
}

Node.js v18.19.1
node:events:495
      throw er; // Unhandled 'error' event
      ^

Error: setRawMode EIO
    at ReadStream.setRawMode (node:tty:77:31)
    at [_setRawMode] [as _setRawMode] (node:internal/readline/interface:381:18)
    at Interface.InterfaceConstructor (node:internal/readline/interface:317:22)
    at new Interface (node:readline:114:3)
    at Object.createInterface (node:readline:213:10)
    at Object.<anonymous> (/home/akh/Microsoft-Rewards-Script/dist/functions/Login.js:33:31)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
Emitted 'error' event on Interface instance at:
    at ReadStream.onerror (node:internal/readline/interface:246:10)
    at ReadStream.emit (node:events:517:28)
    at ReadStream.setRawMode (node:tty:77:10)
    at [_setRawMode] [as _setRawMode] (node:internal/readline/interface:381:18)
    [... lines matching original stack trace ...]
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) {
  errno: -5,
  code: 'EIO',
  syscall: 'setRawMode'
}

Node.js v18.19.1
TheNetsky commented 2 weeks ago

I've not tested clustering yet