Railpack Deploy Crashing | Cannot find module '/app/build' | Nodejs v22.17.0
eksno
PROOP

8 months ago

On deploying my pnpm project using node v22.17.0 using railpack it crashes due to error shown in screenshot.

Attachments

Solved$10 Bounty

4 Replies

alex-delia
PRO

8 months ago

What is your build/start script set to in railway? And what scripts do you have in your package.json


alex-delia
PRO

8 months ago

The project is currently trying to run a file named “build” but that doesn’t exist


eksno
PROOP

8 months ago

build and start script is left blank, was working with no issue using nixpacks (until I had to update to a node version nixpacks doesn't support) at which point I switched to railpack.

attached package.json


eksno
PROOP

8 months ago

Solved, switched to @sveltejs/adapter-node instead of @sveltejs/adapter-auto


Status changed to Solved ray-chen 8 months ago


Loading...