Node-telegram-bot-api: Need help, error

Created on 14 Dec 2017  路  8Comments  路  Source: yagop/node-telegram-bot-api

node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. module.js:660:30

question

Most helpful comment

Add this line in top of js file.

process.env["NTBA_FIX_319"] = 1;

All 8 comments

Add this line in top of js file.

process.env["NTBA_FIX_319"] = 1;

@sidelux Thank you so much!

You mean this file? module.js

In your js file (where you have coded your bot).

Thanks understood! :)

Add this line in top of js file.

process.env["NTBA_FIX_319"] = 1;

it's works , thanks so much !!!!!!!!!

@kamikazechaser what about closing and locking this discussion?

@alexandercerutti Yeah I think all question issues should be closed asap otherwise this repo may became another Stackoverflow.

Was this page helpful?
0 / 5 - 0 ratings