yarn build doesn't work in nestjs project
expoposition
HOBBYOP

9 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

Solved

1 Replies

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 9 months ago


Railway
BOT

4 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 4 months ago


Loading...