Replies: 3 comments 1 reply
-
When I try to install it I get the following error:
Hope someone can resolve this issue. |
Beta Was this translation helpful? Give feedback.
-
@Hajman I have built Pi Zero W's in the past two days, both working fine. If a sudo apt update && sudo apt upgrade doesn't fix it for you, I would suggest rebuilding from scratch. @Arkadije those are not errors, those are warnings. room-assistant still runs fine. |
Beta Was this translation helpful? Give feedback.
-
Ths for replying back. I solved the issue. My problem was when I run the room-assistant command to start it, it gave me the error, no such file. |
Beta Was this translation helpful? Give feedback.
-
I installed on a new Pi Zero about 2 weeks ago. Nodejs LTS at that point was 14.8.1. The software ran fine though with inaccurate presence detection. So I got another zero and tried to install this weekend. Everything installs but room-assistant throws an error. It isn't nodejs version related as I dropped back to 14.8.1 (known to work properly) and the same error occurs. I think the dependency of command-line-usage changed given the below message.
/opt/nodejs/lib/node_modules/room-assistant/node_modules/command-line-usage/index.js:1
rix_keypad_remove
SyntaxError: Invalid or unexpected token
at wrapSafe (internal/modules/cjs/loader.js:1001:16)
at Module._compile (internal/modules/cjs/loader.js:1049:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object. (/opt/nodejs/lib/node_modules/room-assistant/bin/room-assistant.js:5:26)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
Beta Was this translation helpful? Give feedback.
All reactions