-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetDevices hangs on M1 Mac #539
Comments
Thanks for providing all the info in the issue template! You are on Node 15, which causes the issue you are seeing. If you install the latest node 14, it should work just fine. |
Thank you so much for the prompt reply. Good to hear this is a known issue. I will install node14 |
@tylervsd any luck? |
@dgreif - Thank you for the follow-up. Unfortunately it does not look like Node 14 will be supported natively on the M1 ( nodejs/node#36161 ). In the meantime I have kept the ring client running on my Raspberry Pi (where it works great). I didn't want to manage side-by-side Intel and ARM Node installs on my M1 :) I have also found another homebridge plugin with a similar issue, so it is not just the ring plugin that is impacted. For my own knowledge, is this issue due to a bug in Node15, or was a breaking change introduced in Node 15? Thanks again! |
@tylervsd good to know that node 14 isn't compatible on M1! Running it on an rpi is definitely the easiest option, and has the most support since that's how most users have theirs set up. I'm not exactly sure why node 15 isn't working, but the main observation is that the |
Sounds good. I will keep updating Node15 periodically on my M1. If things start working I will update the thread. Thanks again!
|
Bug Report
Describe the Bug
When running the ring-client-api on M1 Mac, the client appears to hang on the getDevices call (sample program below). I realize my environment is not common, and would be happy to help debug as needed.
To Reproduce
I first saw this issue when running homebridge, then was able to reproduce in a standalone script. Note that I am not a Node js developer so the code below is rough:
Script:
From stepping into the code, the following area of ring-client-api location.js is what appears to never return:
Expected behavior
Expect the list of devices to be returned
Screenshots/Logs
NA
Additional context
I have homebridge-ring running fine on a Raspberry Pi, so I don't feel this is specific to my network
Environment
I installed node/npm using the ARM HomeBrew build for the M1 Mac.
The text was updated successfully, but these errors were encountered: