question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error running with forever

See original GitHub issue

When I run forever start index.js, I get this error and it will not start

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: index.js

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
DairyWeb3638077commented, Oct 3, 2022

This is not an error, run forever list to see running processes.

There are no processes running

Once you run forever start ... it should daemonize the given script, forever list will show all the scripts running or stopped.

ok so I fixed the issue nut I had to start with node .. If I had loginrequired=true, most features do not work properly. when I disable it, it all works. But for some reason, my bot does not stay online. it keeps changing to waiting for restart

0reactions
jareer12commented, Oct 17, 2022

No activity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error running forever.js on Windows - “'C:\Program' is not ...
I am trying to run forever.js via the Windows command prompt and I get the following output: >npm i -g forever /my-project>forever start ......
Read more >
node.js - NodeJS - Keep my App running with Forever
Run you app with pm2 instead of forever. Pm2 will restart the node server even after uncaught exceptions.
Read more >
forever: command not found error [Solved] | bobbyhadz
Use npx to solve the error "forever: command not found", e.g. npx forever start app.js or install the package globally by running npm...
Read more >
Error Forever Node.js module is not running - IBM
You try to access the Forever log file using the forever list command and receive an error Forever Node.js module is not running....
Read more >
foreverjs/forever - Gitter
Hello. Have a question about one specific error. I have a forever running inside docker container and whenever I start it, then at...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found