directly run backend without building
devcadotio
PROOP

a year ago

is there a way i can have railway directly do pnpm dev and serve port 3000 instead of building beforehand?

23 Replies

devcadotio
PROOP

a year ago

58f9c8d3-2d87-4177-90e5-828a7d37ad8b


a year ago

like avoid running pnpm run build?


devcadotio
PROOP

a year ago

yeah


a year ago

gotcha, may i first inquire as to why you want to run dev and not maybe a production build?


devcadotio
PROOP

a year ago

its only a preview environment and i have too many typeerrors i still need to fix


devcadotio
PROOP

a year ago

and somehow cant figure out how to disable checking those on building


a year ago

what framework?


a year ago

i'd much prefer to help you come to a proper solution here, running a dev server is unstable and costly


a year ago

CI=FALSE?


devcadotio
PROOP

a year ago

express for backend


devcadotio
PROOP

a year ago

wdym


a year ago

Setting an environment variable named CI to False should ignore warnings. Not sure if it’s applicable here, but worth a shot


devcadotio
PROOP

a year ago

Is that a railway or a npm feature?


a year ago

neither


a year ago

try setting TSC_COMPILE_ON_ERROR=true -


devcadotio
PROOP

a year ago

1338229039264956700


a year ago

did you try CI=false


devcadotio
PROOP

a year ago

let me try


devcadotio
PROOP

a year ago

failed


devcadotio
PROOP

a year ago

same errors


devcadotio
PROOP

a year ago

as above


devcadotio
PROOP

a year ago

any other ideas?


a year ago

nope, can you look into how to disable type checking with tsc, it would not be railway specific


Loading...