You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: /opt/bitnami/nodejs/bin/nodemon
however, when trying the server via IP:3000/, it won't work. I've tried to do a normal nodemon server.js and even /opt/bitnami/nodejs/bin/nodemon --exitcrash server and it will work. so either the issue is with forever, or with the ports (are open, as nodemon server.js works perfectly).
Running out of options. Any clue what's happening here?
Thanks in advance!
EDIT: forever server.js works.
Here's the logfile:
Usage: nodemon [nodemon options] [script.js] [args]
See "nodemon --help" for more.
error: Forever detected script exited with code: 0
error: Script restart attempt #1
Usage: nodemon [nodemon options] [script.js] [args]
See "nodemon --help" for more.
error: Forever detected script exited with code: 0
error: Script restart attempt #2
Usage: nodemon [nodemon options] [script.js] [args]
See "nodemon --help" for more.
error: Forever detected script exited with code: 0
error: Script restart attempt #3
Usage: nodemon [nodemon options] [script.js] [args]
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up.
Thank you for contributing <3
Hello,
I'm trying to use forever to run my server. I have done this:
forever start /opt/bitnami/nodejs/bin/nodemon --exitcrash server.js
and shell replies with:
doing
forever list
shows:`info: Forever processes running
data: uid command script forever pid id logfile uptime
data: [0] kP5Z /opt/bitnami/nodejs/bin/.node.bin /opt/bitnami/nodejs/bin/nodemon --exitcrash server.js 19243 19259 /home/bitnami/.forever/kP5Z.log 0:0:0:3.390``
so it's running.
however, when trying the server via IP:3000/, it won't work. I've tried to do a normal
nodemon server.js
and even/opt/bitnami/nodejs/bin/nodemon --exitcrash server
and it will work. so either the issue is with forever, or with the ports (are open, asnodemon server.js
works perfectly).Running out of options. Any clue what's happening here?
Thanks in advance!
EDIT:
forever server.js
works.Here's the logfile:
The text was updated successfully, but these errors were encountered: