Permissions denied in "start nodemon" script
Anonymous
TRIALOP

2 years ago

Hello community, I have made changes in my repository and when I upload them to Railway it shows me the following error in the "Deploy Logs". Does anyone have any idea how to fix it, it's the first time it happens to me and this project was already running with nodemon.

14 Replies

Anonymous
TRIALOP

2 years ago

52285b4a-86ea-4f58-9dcb-56d4b234fcde


brody
EMPLOYEE

2 years ago

please don't use nodemon in production


Anonymous
TRIALOP

2 years ago

I stopped using nodemon and now I'm running the server directly, but I keep getting the permission denied message


brody
EMPLOYEE

2 years ago

please share your repo


Anonymous
TRIALOP

2 years ago


brody
EMPLOYEE

2 years ago

you have node_modules in your repo


Anonymous
TRIALOP

2 years ago

If I forgot to delete that folder, I pushed the branch without placing the gitignore file.


brody
EMPLOYEE

2 years ago

you also have a .env file


Anonymous
TRIALOP

2 years ago

Already deleted


Anonymous
TRIALOP

2 years ago

:v


Anonymous
TRIALOP

2 years ago


brody
EMPLOYEE

2 years ago

your start script is just server.js


Anonymous
TRIALOP

2 years ago

I had forgotten to put the node command next to my project name, thanks for making me aware of it


brody
EMPLOYEE

2 years ago

no problem!


Loading...