yarn build doesn't work in nestjs project
abdulloevdilshod
FREEOP

a year 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

9 Replies

abdulloevdilshod
FREEOP

a year ago

18186ea6-afdb-41cb-9416-d25075882b5c


abdulloevdilshod
FREEOP

a year ago

can someone help me please


a year ago

this is an issue with your application, unfortunately we are unable to provide support for issues unrelated to the Railway platform or product here.

you would find better help for this kind of question in stackoverflow.


abdulloevdilshod
FREEOP

a year ago

i have question. Can i add my own docker file?


a year ago

of course! have a Dockerfile in your repo and it will automatically be used


abdulloevdilshod
FREEOP

a year ago

i solved problem but the new come how i can open swagger? Now the request ending with error

method:
"GET"
path:
"/swagger"
host:
"production-c538.up.railway.app"
httpStatus:
502
upstreamProto:
"HTTP/1.1"
downstreamProto:
"HTTP/2.0"
responseDetails:
"failed to forward request to upstream: connection refused"
totalDuration:
10694
upstreamRqDuration:
10554
txBytes:
4693
rxBytes:
505
srcIp:
"104.28.107.32"
edgeRegion:
"europe-west4"


abdulloevdilshod
FREEOP

a year ago

@Brody


abdulloevdilshod
FREEOP

a year ago

how close this ticket?


a year ago

!s


Status changed to Solved brody 12 months ago


Loading...