Build Timed Out
windel
PROOP

2 years ago

The building from my app in NodeJS with NestJS, is getting error build timed out, i need help for solved this, is ocurring since yesterday.

7 Replies

brody
EMPLOYEE

2 years ago

please attach your build logs that you can get with this tool https://bookmarklets.up.railway.app/log-downloader/


windel
PROOP

2 years ago

…..

Attachments


brody
EMPLOYEE

2 years ago

It looks like you are using Puppeteer? and for that, I would highly recommend using the browserless template instead of installing chrome into the container.

https://railway.app/template/browserless

here is an example repository on how you would use the browserless template with puppeteer -

https://github.com/brody192/puppeteer-example/tree/main

Please read the README for instructions.

Additionally, you would want to set your build command to just npm run build and your start command to npx prisma migrate deploy && npx prisma generate && npm run start


windel
PROOP

2 years ago

i'm using jsreport, and i dont know how i could do this integration


brody
EMPLOYEE

2 years ago

I would highly recommend looking into using something that does support browserless, installing chrome into the container is not a good idea as it will significantly increase your build times.


windel
PROOP

2 years ago

Ok, i will make a change in my project, to use only puppeteer since jsreport.


windel
PROOP

a year ago

Hello, this case has been resolved, so we can now close this topic, thank you


Loading...