gsbelarus / gdmn-bot

Чат-бот "Моя Зарплата" для мессенджеров Viber и Telegram.

Home Page:http://gsbelarus.com/pw/front-page/solutions/android/chat-bot-moia-zarplata/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Памылка

gsbelarus opened this issue · comments

  <rejected> TypeError: Cannot read property 'id' of undefined
      at ViberBot.<anonymous> (G:\Bot\gdmn-bot\src\bot.ts:632:45)
      at ViberBot.emit (events.js:315:20)
      at ViberBot.EventEmitter.emit (domain.js:485:12)
      at ViberBot._handleEventReceived (G:\Bot\gdmn-bot\node_modules\viber-bot\lib\viber-bot.js:253:9)
      at Duplex.<anonymous> (G:\Bot\gdmn-bot\node_modules\viber-bot\lib\viber-bot.js:224:9)
      at Duplex.emit (events.js:315:20)
      at Duplex.EventEmitter.emit (domain.js:485:12)
      at addChunk (_stream_readable.js:302:12)
      at readableAddChunk (_stream_readable.js:278:9)
      at Duplex.Readable.push (_stream_readable.js:217:10)
}
[INFO] 24.06.2020 14:56:40, chatId: 8mvDLK0WCb3djVfOYX/IPw==: SUBSCRIBED 8mvDLK0WCb3djVfOYX/IPw==
[INFO] 24.06.2020 14:57:53: Data has been loaded from G:\Bot\gdmn-bot\data\customers.json. Keys: 9...
{
  err: TypeError: Cannot read property 'id' of undefined
      at ViberBot.<anonymous> (G:\Bot\gdmn-bot\src\bot.ts:632:45)
      at ViberBot.emit (events.js:315:20)
      at ViberBot.EventEmitter.emit (domain.js:485:12)
      at ViberBot._handleEventReceived (G:\Bot\gdmn-bot\node_modules\viber-bot\lib\viber-bot.js:253:9)
      at Duplex.<anonymous> (G:\Bot\gdmn-bot\node_modules\viber-bot\lib\viber-bot.js:224:9)
      at Duplex.emit (events.js:315:20)
      at Duplex.EventEmitter.emit (domain.js:485:12)
      at addChunk (_stream_readable.js:302:12)
      at readableAddChunk (_stream_readable.js:278:9)
      at Duplex.Readable.push (_stream_readable.js:217:10)
} Promise {
  <rejected> TypeError: Cannot read property 'id' of undefined
      at ViberBot.<anonymous> (G:\Bot\gdmn-bot\src\bot.ts:632:45)
      at ViberBot.emit (events.js:315:20)
      at ViberBot.EventEmitter.emit (domain.js:485:12)
      at ViberBot._handleEventReceived (G:\Bot\gdmn-bot\node_modules\viber-bot\lib\viber-bot.js:253:9)
      at Duplex.<anonymous> (G:\Bot\gdmn-bot\node_modules\viber-bot\lib\viber-bot.js:224:9)
      at Duplex.emit (events.js:315:20)
      at Duplex.EventEmitter.emit (domain.js:485:12)
      at addChunk (_stream_readable.js:302:12)
      at readableAddChunk (_stream_readable.js:278:9)
      at Duplex.Readable.push (_stream_readable.js:217:10)