Closed BalanceBreaker closed 3 years ago
OK i tried to troubleshoot it but now NPM wont even throw any errors but from the exceptions.log file ive recovered this:
"level":"error", "message":"uncaughtException: Unexpected identifier\n/home/pi/Desktop/eufy-ha-mqtt-bridge/config/index.js:8\n eufyPassword\n ^^^^^^^^^^^^\n\nSyntaxError: Unexpected identifier\n at Module._compile (internal/modules/cjs/loader.js:723:23)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)\n at Module.load (internal/modules/cjs/loader.js:653:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:593:12)\n at Function.Module._load (internal/modules/cjs/loader.js:585:3)\n at Module.require (internal/modules/cjs/loader.js:692:17)\n at require (internal/modules/cjs/helpers.js:25:18)\n at Object.<anonymous> (/home/pi/Desktop/eufy-ha-mqtt-bridge/eufy/client.js:2:16)\n at Module._compile (internal/modules/cjs/loader.js:778:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)", "stack":"/home/pi/Desktop/eufy-ha-mqtt-bridge/config/index.js:8\n eufyPassword\n ^^^^^^^^^^^^\n\nSyntaxError: Unexpected identifier\n at Module._compile (internal/modules/cjs/loader.js:723:23)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)\n at Module.load (internal/modules/cjs/loader.js:653:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:593:12)\n at Function.Module._load (internal/modules/cjs/loader.js:585:3)\n at Module.require (internal/modules/cjs/loader.js:692:17)\n at require (internal/modules/cjs/helpers.js:25:18)\n at Object.<anonymous> (/home/pi/Desktop/eufy-ha-mqtt-bridge/eufy/client.js:2:16)\n at Module._compile (internal/modules/cjs/loader.js:778:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)", "exception":true,
and that doesnt look good to me, but im pretty sure its due to user error (me) but im still completely lost as to what to do to fix it. Looks like me trying to fix the first problem made everything worse.
Fixed all errors by just moving all to a separate docker image!
Thanks again.
Hey, first of all thanks for this project!
I get this strange error which i cant solve on my own sadly. I also tried to see if anybody else had similar issues but couldnt find any (on this github).
Here is the log if that help you!
Sorry in advance if this is a simple problem and im just unable to see / solve it myself!
Have a nice day!