Error: Cannot find module 'telegram-api/types/Message' #5
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: thereadme/node-telegram-api#5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi. I'm getting this error when I want to run the bot.
It's the line 1 of main.js
I already installed dependencies. Also the Message.js file is present in the build/types folder.
This is an issue with older versions of
telegram-api
, it's fixed in the latest version, what version are you on?Okay, it seems there was a problem with npm not publishing
types
folder anymore, edited thefiles
property of package.json and it's fixed now, Thanks @mamal72! <3