Env not found Deployment error using monorepo
respectmashego
PROOP

7 months ago

my server is crashing . The nodejs server is contained in folder/backend(server code inside this folder),frontend(react folder) ..

i am getting deployment errors. Error: .env file not found at /app/.env

note:

1.my .env is in folder/backend/.env,src etc.

2.the build was succesfully but server is crashing in deployment

Solved

1 Replies

respectmashego
PROOP

7 months ago

solved,thanks. .env was not pushed to my repo so railway was looking for it


Status changed to Solved brody 7 months ago


Loading...