I checked out v1.16.2 of the forum and was running node version 15.12 when I encountered the same error.
I downgraded to node version 14.6.0 and now this error is not coming up.
I hope this info can help anyone.
Currently I am deploying with Git Hooks into the virtual machine of my web hosting. The last commands I've included in the automated deployment are:
cd /home/nestor/nodebb ./nodebb stop ./nodebb start
Once restarted, the last command
start does not finish, I mean, the command line is not available after that, but the
start seems to have been worked completely. Why is this happening? Why it seems like such command is never finished? If I introduce manually such commands they work good, fast, but if done automated with Git Hooks, then that happens.
Any help, please? I am still having this problem. Thank you!
Are you sure it's the
start that's not finishing and not your automation?
This may not work but could be worth looking into.
cd /home/nestor/nodebb ./nodebb stop ./nodebb start exit 0