Error Build Time out Node TypeScript puppeteer
franghisoni
FREEOP

2 years ago

20 Replies

franghisoni
FREEOP

2 years ago

318bdceb-bd11-4a39-90f9-3090fc272fe0


spread-admin
HOBBY

2 years ago

Was just going to post. Seems like there's an issue with building in general from the past 15 mins or so.


spread-admin
HOBBY

2 years ago

Also getting a lot of 504 gateway-timeout issues from cloudflare when accessing the railway api.


franghisoni
FREEOP

2 years ago

I don't think that's because I'm getting the same error from last week


spread-admin
HOBBY

2 years ago

Could be unrelated as well.


spread-admin
HOBBY

2 years ago

Are you getting any builds through?


franghisoni
FREEOP

2 years ago

let me try with other deploy


2 years ago

you are trying to start your server during build


franghisoni
FREEOP

2 years ago

How do I prevent it from starting on its own?


2 years ago

are you starting the server in your build script?


franghisoni
FREEOP

2 years ago

im dont sure 🫣
"start": "node build/main.js",
"dev": "ts-node-dev src/main.ts",
"build": "ts-node src/main.ts",
The script is by default so I understand that the Start script is being used


2 years ago

yes you are starting your server in the build script


franghisoni
FREEOP

2 years ago

how i can do to not do thath?


2 years ago

have ts-node build not run the ts file


franghisoni
FREEOP

2 years ago

I have to change:
"start": "node build/main.js",
by:
"start": "ts-node build/main.js",
?


2 years ago

that can work, but also remove the build script


franghisoni
FREEOP

2 years ago

thanks you a lot, im currently trying right now, but bbgum is right
i just redeploy a already deploy proyect and got the same issue


2 years ago

your issue is a config issue, you where starting your server duing build


franghisoni
FREEOP

2 years ago

hello brody, now its completed but thorw this error:
node:internal/modules/cjs/loader:1143

throw err;

^

Error: Cannot find module './main.js'


2 years ago

show me your scripts please


Loading...