\node_modules\request\request.js:698
self.pool[poolKey] = new Agent(options)
^
TypeError: Agent is not a constructor
at Request.getNewAgent (F:\Data\Documents\Code\Telegram\bibliotekar\node_modules\request\request.js:698:26)
at Request.init (F:\Data\Documents\Code\Telegram\bibliotekar\node_modules\request\request.js:490:37)
at Request.RP$initInterceptor [as init] (F:\Data\Documents\Code\Telegram\bibliotekar\node_modules\request-promise-core\configure\request2.js:45:29)
at new Request (F:\Data\Documents\Code\Telegram\bibliotekar\node_modules\request\request.js:127:8)
at request (F:\Data\Documents\Code\Telegram\bibliotekar\node_modules\request\index.js:53:10)
at TelegramBot._request (F:\Data\Documents\Code\Telegram\bibliotekar\node_modules\node-telegram-bot-api\src\telegram.js:267:12)
at TelegramBot.getUpdates (F:\Data\Documents\Code\Telegram\bibliotekar\node_modules\node-telegram-bot-api\src\telegram.js:566:17)
at TelegramBotPolling._getUpdates (F:\Data\Documents\Code\Telegram\bibliotekar\node_modules\node-telegram-bot-api\src\telegramPolling.js:190:21)
at TelegramBotPolling._polling (F:\Data\Documents\Code\Telegram\bibliotekar\node_modules\node-telegram-bot-api\src\telegramPolling.js:102:8)
at TelegramBotPolling.start (F:\Data\Documents\Code\Telegram\bibliotekar\node_modules\node-telegram-bot-api\src\telegramPolling.js:48:17)
at TelegramBot.startPolling (F:\Data\Documents\Code\Telegram\bibliotekar\node_modules\node-telegram-bot-api\src\telegram.js:387:26)
at new TelegramBot (F:\Data\Documents\Code\Telegram\bibliotekar\node_modules\node-telegram-bot-api\src\telegram.js:201:14)
at Object. (F:\Data\Documents\Code\Telegram\bibliotekar\index.js:9:13)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:279:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:752:3)