My agent stopped working, probably due to nodejs upgrade i did or something. Here is what i get no matter i tried, even reinstalling triggercmd couple of times. Current versions i have npm 8.1.3, node v17.1.0, nodejs v10.24.1. Pls. help.
pi@raspberrypi:~ $ systemctl sratus tiggercmdagent
ā triggercmdagent.service - TRIGGERcmd Agent
Loaded: loaded (/etc/systemd/system/triggercmdagent.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-12-09 07:01:41 EST; 10h ago
Process: 524 ExecStart=/usr/bin/env node /usr/share/triggercmdagent/app/src/daemon.js --run /root/.TRIGGERcmdData (code=exited, status=2)
Main PID: 524 (code=exited, status=2)
Dec 09 07:01:41 raspberrypi systemd[1]: triggercmdagent.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Dec 09 07:01:41 raspberrypi systemd[1]: triggercmdagent.service: Failed with result 'exit-code'.
Dec 09 07:01:41 raspberrypi systemd[1]: triggercmdagent.service: Service RestartSec=100ms expired, scheduling restart.
Dec 09 07:01:41 raspberrypi systemd[1]: triggercmdagent.service: Scheduled restart job, restart counter is at 5.
Dec 09 07:01:41 raspberrypi systemd[1]: Stopped TRIGGERcmd Agent.
Dec 09 07:01:41 raspberrypi systemd[1]: triggercmdagent.service: Start request repeated too quickly.
Dec 09 07:01:41 raspberrypi systemd[1]: triggercmdagent.service: Failed with result 'exit-code'.