Hello,
i have installed this GitHub - JLFdzDev/hestiacp-nodejs: HestiaCP-NodeJS | This plugin allow install multiple nodejs apps using HestiaCP
But i get an error:
enoent Could not read package.json: Error: ENOENT: no such file or directory
package.json is in same folder. When i run pm2 start app.js in that directory, the app starts and its accessible in browser. But the autostart doesnt work because of not found package.json.
and i dont understand this from github " Start Script: It creates a ecosystem.config.js
file in root of nodeapp with the script that you fill (it should be the one you have in your package.json
) for PM2 can manage the app"