MarkUp and session import seems messed up. #1945
-
I'm trying to create a bot and I want to use Markup but I can't seem to get the correct import. Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './markup' is not defined by "exports" in C:\Users\hp\Desktop\CheckBot\node_modules\telegraf\package.json Node.js v20.9.0 HERE's the error message |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I can add this as a separate export in the upcoming release. The intended way to use it right now is import { Markup } from "telegraf"; |
Beta Was this translation helpful? Give feedback.
I can add this as a separate export in the upcoming release. The intended way to use it right now is