Demon can not start due to an error
klark6130 opened this issue · 0 comments
I not use config like forever/development.json (as in example)
In package.json of project there are scripts:
"scripts": {
"test": "test",
"dev": "nodemon server.js dev",
"start": "nodemon server.js production",
"forever": "forever start --minUptime 5000 --spinSleepTime 2000 server.js dev"
},
I use "npm run forever". I get message in console
"info: Forever processing file: server.js"
But demon not running!
But in log files by default like "E:\Users@username.forever" i found some like text:
"C:\Program" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
error: Forever detected script exited with code: 1
error: Script restart attempt #1
........................................
"C:\Program" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
error: Forever detected script exited with code: 1
error: Script restart attempt #173
It means that some errors in source code, for example then script try parse path to executing files