-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ошибка при запуске, старая версия в релизе. #2
Comments
Можно скрином? |
NodeJS - v10.19.0 |
Обнови ноду |
Переустанови модули |
При установке все проблемы решаются просто |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Привет, при запуске
ts-node .
появляется ошибка
[SETUP] Для получения прав администратора напишите боту: /setup token /home/danya/musicFromVK-0.1/node_modules/telegraf/lib/core/helpers/compact.js:11 return Object.fromEntries(compactEntries); ^ TypeError: Object.fromEntries is not a function at compactOptions (/home/danya/musicFromVK-0.1/node_modules/telegraf/lib/core/helpers/compact.js:11:19) at new ApiClient (/home/danya/musicFromVK-0.1/node_modules/telegraf/lib/core/network/client.js:208:45) at new Telegram (/home/danya/musicFromVK-0.1/node_modules/telegraf/lib/telegram.js:7:1) at new Telegraf (/home/danya/musicFromVK-0.1/node_modules/telegraf/lib/telegraf.js:44:25) at Object.<anonymous> (/home/danya/musicFromVK-0.1/bot.ts:10:19) at Module._compile (internal/modules/cjs/loader.js:778:30) at Module.m._compile (/usr/local/lib/node_modules/ts-node/src/index.ts:1459:23) at Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Object.require.extensions.(anonymous function) [as .ts] (/usr/local/lib/node_modules/ts-node/src/index.ts:1462:12) at Module.load (internal/modules/cjs/loader.js:653:32)
Инструкция к последнему релизу неактуальна, переменные api_id, api_hash не вынесены в config.type.ts
The text was updated successfully, but these errors were encountered: