From time to time it does happen, but restarting the node bypass this. I really don't have how to debug and see the actual error and the site needs to be online anyway.
I wish to know a way to restart the server whet this error happens, without having to change a file or anything like that.
I know this is a way around, etc etc... but that's what I need to do now...
ERROR:
[nodemon] app crashed - waiting for file changes before starting...
PACKAGE.json
"scripts": {"test": "echo \"Error: no test specified\" && exit 1","start": "node app.js","server": "nodemon app --ignore './client/'","client": "npm start --prefix client","dev": "concurrently \"npm run server\" \"npm run client\"","build": "concurrently \"npm run server\" \"npm run client\"" },
starting using node server.