3 months ago
✕ [8/9] RUN yarn build
process "/bin/sh -c yarn build" did not complete successfully: exit code: 1270 await ctx.reply(botStatisticsText, { parse_mode: 'HTML' }); ~~~~~ src/auth/constants/back-to-menu-button.ts:1:24 - error TS2307: Cannot find module 'telegraf' or its corresponding type declarations. 1 import { Markup } from 'telegraf'; ~~~~~~~~~~ src/auth/scenes/add-admin.scene.ts:23:17 - error TS2339: Property 'editMessageText' does not exist on type 'Context'. 23 await ctx.editMessageText(addingAdminText, { ~~~~~~~~~~~~~~~ src/auth/scenes/add-admin.scene.ts:84:15 - error TS2339: Property 'reply' does not exist on type 'Context'. 84 await ctx.reply(
Locally I built project and its built normally
1 Replies
3 months ago
Prod builds are different than dev builds: error TS2307: Cannot find module 'telegraf' or its corresponding type declarations.
You would need to fix this error.
Status changed to Awaiting User Response railway[bot] • 3 months ago