undefined
at getKey (C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf-answer\lib\index.js:5:45)
at C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf-answer\lib\index.js:15:17
at execute (C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:370:13)
at C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:370:49
at C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:135:56
at execute (C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:370:13)
at C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:355:14
at execute (C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:370:13)
at C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:355:14
at execute (C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:370:13)
Failed to process updates. TypeError: Cannot read property 'type' of undefined
at getKey (C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf-answer\lib\index.js:5:45)
at C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf-answer\lib\index.js:15:17
at execute (C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:370:13)
at C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:370:49
at C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:135:56
at execute (C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:370:13)
at C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:355:14
at execute (C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:370:13)
at C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:355:14
at execute (C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\composer.js:370:13)
(node:3688) UnhandledPromiseRejectionWarning: Error: 400: Bad Request: message to delete not found
at C:\Users\Administrator\Desktop\sell_bot\node_modules\telegraf\core\network\client.js:281:17
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:3688) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)
(node:3688) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Пытаешься прочитать у андефайнда поле тайп
Обсуждают сегодня