Kriven666
- 14
- 0
Запускаю бота, вижу в логах это
Подскажите как фиксить?
Bash:
0|app | /bot/bot.js:23
0|app | .then((response) => {
0|app | ^^
0|app | SyntaxError: Unexpected token =>
0|app | at exports.runInThisContext (vm.js:73:16)
0|app | at Module._compile (module.js:443:25)
0|app | at Object.Module._extensions..js (module.js:478:10)
0|app | at Module.load (module.js:355:32)
0|app | at Function.Module._load (module.js:310:12)
0|app | at Module.require (module.js:365:17)
0|app | at require (module.js:384:17)
0|app | at Object.<anonymous> (/bot/app.js:10:15)
0|app | at Module._compile (module.js:460:26)
0|app | at Object.Module._extensions..js (module.js:478:10)