Application Failed to Respond

shuvodipdassowmikTRIAL

9 months ago

My deploy log shows the following errors:

npm ERR! path /app

Jul 15 04:09:16

fabeeb20

npm ERR! command failed

Jul 15 04:09:16

fabeeb20

npm ERR! signal SIGTERM

Jul 15 04:09:16

fabeeb20

npm ERR! command sh -c node index.js

Jul 15 04:09:16

fabeeb20

Jul 15 04:09:16

fabeeb20

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-07-14T22_08_25_932Z-debug-0.log

Jul 15 04:09:16

fabeeb20

npm WARN config production Use --omit=dev instead.

Please tell me whats wrong.

Solved

4 Replies

9 months ago

What kind of app is this?


shuvodipdassowmikTRIAL

9 months ago

I was trying to create a sever with NodeJS


horangelmillanHOBBY

7 months ago

Did you solve it? the same thing happens to me.

npm ERR! path /app

npm ERR! command failed

npm ERR! signal SIGTERM

npm ERR! command sh -c node server.js

Sep 27 02:31:52npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-09-27T07_21_04_299Z-debug-0.log


horangelmillanHOBBY

7 months ago

Hi, I finally got it working. What I had to do was create environment variables for the "PORT" port, in my case 4000 or 8080 for my frontend application. After creating the environment variables, I deployed and regenerated the public domains. When I enter the public domain, it works correctly.

Attachments


Status changed to Solved brody 7 months ago


Application Failed to Respond - Railway Help Station