Skip to content
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

hb-service update-node fails for node-darwin-arm64 #1246

Closed
ahndee opened this issue Dec 8, 2021 · 2 comments
Closed

hb-service update-node fails for node-darwin-arm64 #1246

ahndee opened this issue Dec 8, 2021 · 2 comments
Labels

Comments

@ahndee
Copy link

ahndee commented Dec 8, 2021

Describe The Bug:
If the original node installation an Apple M1 hardware is using the official darwin-arm64 version of node, "hb-service update-node" fails with "Architecture not supported: arm64."

To Reproduce:

  1. Install node using https://nodejs.org/dist/v16.13.0/node-v16.13.0-darwin-arm64.tar.gz
  2. Run "sudo hb-service update-node"

Expected behavior:
Node should be updated to 16.13.1

Logs:
N/A

Homebridge Config:
N/A

Screenshots:
N/A

Environment:

  • Node.js Version: v16.13.0
  • NPM Version: 8.2.0
  • Homebridge Version: 1.3.8
  • Homebridge Config UI X Version: v4.41.3
  • Operating System: macOS 12.0.1
  • Process Supervisor: hb-service
@oznu
Copy link
Member

oznu commented Dec 11, 2021

Hi @ahndee,

I've made some changes so allow this to work.

Can you please test?

https://github.com/oznu/homebridge-config-ui-x/wiki/How-To-Test-Upcoming-Changes

I've you've already updated to 16.13.1 you can test the process by downgrading using the tool:

# downgrade
sudo hb-service update-node 16.13.0

# upgrade to latest LTS
sudo hb-service update-node

@ahndee
Copy link
Author

ahndee commented Dec 11, 2021

Updated to 4.41.4-test.2 via the GUI and was able to use use update-node after that. Thanks!

@oznu oznu closed this as completed Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants