Svelte build throwing Server Error on railway

Hello. I recently pushed Svelte App to railway, but app still throwing a server error though it deployed normally before. Git repo link: https://github.com/Gravgor/properties-svelte
GitHub
GitHub - Gravgor/properties-svelte: The Property CMS Application is...
The Property CMS Application is a web-based system designed to help real estate agents and property managers manage their properties and listings more efficiently. The application is designed to be...
5 Replies
Percy
Percy2y ago
Project ID: 4840f04f-d2ee-401e-a7fe-2e8ffc17fd88
gravgor
gravgor2y ago
4840f04f-d2ee-401e-a7fe-2e8ffc17fd88
Brody
Brody2y ago
screenshots of errors please? but just from looking at your repo, its a monorepo. you will need to set the root dir to /frontend in the service settings. your start script has vite preview you never want to run a dev / preview server on railway instead your start command should be using serve to serve the static files that the build script will generate
gravgor
gravgor2y ago
yep root dir is set. I need to change command and should be working i think Okey, i got it. Changed to node build with node adapter and everything works.
Want results from more Discord servers?
Add your server