Error: Cannot find module '/app/dist/server.js'
I have the following isolated monorepo structure :
/-
packages
- / api
- / app
But i'm just trying to deploy the api on railway only,. I've set the root directory to /packages/api/
and start command to node dist/server.js
each time it tries redeploying i keep getting the error message in the title above. Any idea how this can be resolved?3 Replies
Project ID:
f59df6b2-c7e3-42ce-959a-4e436f2c5350
here are the logs, btw, it only crash during deployment and not during build:
please open your own thread
as for the OP of the thread, I'm going to close it out in favour of your post on the help station, going forward, please do not cross post.