Failing build for Node.js Fastify server
I have a Node.js Fastify server I've been trying to deploy on Railway. Works perfectly locally as well as other services like Render and Heroku, but I keep running into build failures.
It seems to run into the issue when running
yarn install
:
Attached is a more detailed log. Any help is appreciated!20 Replies
Project ID:
97c38578-2eca-44fa-9439-94f4c2c29861
97c38578-2eca-44fa-9439-94f4c2c29861
full build logs please https://bookmarklets.up.railway.app/log-downloader/
try adding this nixpacks.toml to your project
Added, still failing though
ive updated this, please try with this
Still failing for some reason...
each build log file is bigger than the last lol
ive once again updated this π
Still failing π
smaller log size
lets try again
but if you could provide your repo I can work this out on my own and get back to you with a solution that does work
Sure! What's your Github username? I can share the repo with you, much appreciated π
brody192
Latest logs
cool, I'll dig into this later in the day when I'm on my computer
Just added you to the repo. Much appreciated!
Solution
sorry it took so long - https://github.com/andrewshen/boxscores-api/pull/1
Using the Dockerfile worked perfectly. Thanks Brody!
no problem!