KriganLabs / ZacrosBot

More compatible, efficient, and simple. Using advance method to make this sc bot easy to use!
https://api.zacros.my.id/
GNU Affero General Public License v3.0
17 stars 44 forks source link

HEROKU ERROR #5

Closed SonzaiEkkusu closed 2 years ago

SonzaiEkkusu commented 2 years ago

2022-01-07T04:42:22.063231+00:00 heroku[web.1]: Starting process with command npm start 2022-01-07T04:42:23.670179+00:00 app[web.1]: 2022-01-07T04:42:23.670209+00:00 app[web.1]: > zacros@1.0.0 start /app 2022-01-07T04:42:23.670209+00:00 app[web.1]: > node index.js 2022-01-07T04:42:23.670210+00:00 app[web.1]: 2022-01-07T04:42:24.638736+00:00 app[web.1]: internal/modules/cjs/loader.js:1131 2022-01-07T04:42:24.638766+00:00 app[web.1]: throw err; 2022-01-07T04:42:24.638766+00:00 app[web.1]: ^ 2022-01-07T04:42:24.638766+00:00 app[web.1]: 2022-01-07T04:42:24.638767+00:00 app[web.1]: SyntaxError: /app/src/json/botInfo.json: Unexpected token } in JSON at position 2112 2022-01-07T04:42:24.638768+00:00 app[web.1]: at parse () 2022-01-07T04:42:24.638768+00:00 app[web.1]: at Object.Module._extensions..json (internal/modules/cjs/loader.js:1128:22) 2022-01-07T04:42:24.638768+00:00 app[web.1]: at Module.load (internal/modules/cjs/loader.js:950:32) 2022-01-07T04:42:24.638769+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:790:12) 2022-01-07T04:42:24.638769+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:974:19) 2022-01-07T04:42:24.638769+00:00 app[web.1]: at require (internal/modules/cjs/helpers.js:93:18) 2022-01-07T04:42:24.638770+00:00 app[web.1]: at Object. (/app/main.js:6:18) 2022-01-07T04:42:24.638770+00:00 app[web.1]: at Module._compile (internal/modules/cjs/loader.js:1085:14) 2022-01-07T04:42:24.638770+00:00 app[web.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) 2022-01-07T04:42:24.638771+00:00 app[web.1]: at Module.load (internal/modules/cjs/loader.js:950:32) 2022-01-07T04:42:24.653766+00:00 app[web.1]: internal/process/per_thread.js:186 2022-01-07T04:42:24.653769+00:00 app[web.1]: throw new ERR_INVALID_ARG_TYPE('pid', 'number', pid); 2022-01-07T04:42:24.653769+00:00 app[web.1]: ^ 2022-01-07T04:42:24.653770+00:00 app[web.1]: 2022-01-07T04:42:24.653770+00:00 app[web.1]: TypeError [ERR_INVALID_ARG_TYPE]: The "pid" argument must be of type number. Received undefined 2022-01-07T04:42:24.653771+00:00 app[web.1]: at new NodeError (internal/errors.js:322:7) 2022-01-07T04:42:24.653771+00:00 app[web.1]: at process.kill (internal/process/per_thread.js:186:13) 2022-01-07T04:42:24.653771+00:00 app[web.1]: at ChildProcess. (/app/index.js:29:31) 2022-01-07T04:42:24.653772+00:00 app[web.1]: at ChildProcess.emit (events.js:400:28) 2022-01-07T04:42:24.653772+00:00 app[web.1]: at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12) { 2022-01-07T04:42:24.653773+00:00 app[web.1]: code: 'ERR_INVALID_ARG_TYPE' 2022-01-07T04:42:24.653773+00:00 app[web.1]: } 2022-01-07T04:42:24.665486+00:00 app[web.1]: npm ERR! code ELIFECYCLE 2022-01-07T04:42:24.665765+00:00 app[web.1]: npm ERR! errno 1 2022-01-07T04:42:24.671564+00:00 app[web.1]: npm ERR! zacros@1.0.0 start: node index.js 2022-01-07T04:42:24.671663+00:00 app[web.1]: npm ERR! Exit status 1 2022-01-07T04:42:24.671765+00:00 app[web.1]: npm ERR! 2022-01-07T04:42:24.671847+00:00 app[web.1]: npm ERR! Failed at the zacros@1.0.0 start script. 2022-01-07T04:42:24.671922+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2022-01-07T04:42:24.678940+00:00 app[web.1]: 2022-01-07T04:42:24.679151+00:00 app[web.1]: npm ERR! A complete log of this run can be found in: 2022-01-07T04:42:24.679237+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2022-01-07T04_42_24_672Z-debug.log 2022-01-07T04:42:24.931036+00:00 heroku[web.1]: State changed from starting to crashed