You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using node-ts and i get error in the simple example.
Error:
$ yarn run start
yarn run v1.15.2
$ ts-node -r tsconfig-paths/register src/index.ts
TypeError: telegraf_ratelimit_1.default is not a function
at Object. (/home/yesworld/telegram-bot-ts/src/index.ts:14:28)
at Generator.next ()
at /home/yesworld/telegram-bot-ts/src/index.ts:7:71
at new Promise ()
at __awaiter (/home/yesworld/telegram-bot-ts/src/index.ts:3:12)
at /home/yesworld/telegram-bot-ts/src/index.ts:4:13
at Object. (/home/yesworld/telegram-bot-ts/src/index.ts:35:3)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Module.m._compile (/home/yesworld/telegram-bot-ts/node_modules/ts-node/src/index.ts:439:23)
at Module._extensions..js (internal/modules/cjs/loader.js:712:10)
I'm using node-ts and i get error in the simple example.
Error:
package.json
What am I doing wrong?
Thank you for your attention.
The text was updated successfully, but these errors were encountered: