Closed RikkaJavaBot closed 6 years ago
Fixed that issue, now I'm getting this error; `internal/modules/cjs/loader.js:724 throw err; ^
SyntaxError: /home/eliza/Discord-SelfBot/config/games.json: Unexpected token ] in JSON at position 35
at JSON.parse (node self.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Discord_Selfbot@2.2.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /home/eliza/.npm/_logs/2018-06-13T15_02_32_154Z-debug.log `
Well, like it says in the error, there is a mistake in your games.json
config file. Most likely a missing comma or a extra one in the last line.
When I attempt to run "sudo npm start" (sudo for filing reasons) I get
`/home/eliza/Discord-SelfBot/node_modules/gumer-psn/psn.js:132 getAccessToken(codeResult[1]) ^
TypeError: Cannot read property '1' of null at Request._callback (/home/eliza/Discord-SelfBot/node_modules/gumer-psn/psn.js:132:30) at Request.self.callback (/home/eliza/Discord-SelfBot/node_modules/request/request.js:185:22) at Request.emit (events.js:182:13) at Request. (/home/eliza/Discord-SelfBot/node_modules/request/request.js:1157:10)
at Request.emit (events.js:182:13)
at IncomingMessage. (/home/eliza/Discord-SelfBot/node_modules/request/request.js:1079:12)
at Object.onceWrapper (events.js:273:13)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1081:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Discord_Selfbot@2.2.0 start:
node self.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the Discord_Selfbot@2.2.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /home/eliza/.npm/_logs/2018-06-13T14_42_24_562Z-debug.log `