Application Failed to Respond
shuvodipdassowmik
TRIALOP

2 years 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

brody
EMPLOYEE

2 years ago

What kind of app is this?


shuvodipdassowmik
TRIALOP

2 years ago

I was trying to create a sever with NodeJS


horangelmillan
HOBBY

a year 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


horangelmillan
HOBBY

a year 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.


Status changed to Solved brody over 1 year ago


Loading...