Open randy993 opened 5 years ago
I had the same error when I tried to run via systemd on the Raspberry Pi. Tracing the stack trace I was able to pinpoint the problem with my service.
lgtv2
uses the persist-path
module.
If you look here https://github.com/hobbyquaker/persist-path/blob/master/index.js it looks for either APPDATA
or HOME
. Either one of those environment variables must be available when running your application.
In my case, I simply left out User
directive in my service definition so no HOME
variable existed.
Hi there,
I have an issue running this on my Synology NAS. Wondering if you could help me solve the problem.
When I run my code locally, for example;
It run's fine. However, the same code, deployed to my Synology NAS, results in an error.
The only actual difference I can spot is the NPM version, which is v10.14.1 locally and v0.10.48 on my NAS. Is there any way to bypass this problem and get this working?