Error installing Homebridge on macOS
See original GitHub issueDescribe The Bug: I just runned the second command in macOS installation guide.
To Reproduce: Run the first and then the second command in macOS installation guide.
Logs:
sudo hb-service install
/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/axios/lib/cancel/Cancel.js:13
Cancel.prototype.toString = function toString() {
^
TypeError: Cannot assign to read only property 'toString' of object '#<Cancel>'
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/axios/lib/cancel/Cancel.js:13:27)
at Module._compile (internal/modules/cjs/loader.js:1151:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Module.require (internal/modules/cjs/loader.js:1040:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/axios/lib/axios.js:40:16)
at Module._compile (internal/modules/cjs/loader.js:1151:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
Homebridge Config:
not present
Environment:
- Node.js Version: v13.8.0
- NPM Version: 6.14.9
- Homebridge Version: 1.1.6
- Operating System: macOS 11.0.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
[HELP] Cannot install Homebridge on Mac - Reddit
In an attempt to update my configuration I lost the ability to re-install Homebridge, no I get this error... Any hints will be...
Read more >homebridge-config-ui-x - npm
A web based management, configuration and control platform for Homebridge. Latest version: 4.50.2, last published: a month ago.
Read more >Homebridge
The Homebridge UI provides an easy to use interface to manage your Homebridge plugins, configuration and accessories. Install and configure Homebridge plugins ...
Read more >How to Install Homebridge in macOS - iPhone Wired
How to Install Homebridge in macOS · 1. Download & Install Node · 2. Open Terminal · 3. Check Node / NPM Versions...
Read more >Homebridge NPM - npm.io
Homebridge npm. Homebridge is a lightweight NodeJS server you can run on your home network that emulates the iOS HomeKit API. It supports...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This seems to be caused by an outage or issue elsewhere on the internet / npm registry - whatever it was seems to have been resolved now.
For those impacted please run the following commands to repair your installation:
macOS:
Linux:
Windows:
Hello, I just experneced the same issue. I’m new to HomeBridge so thought I did something wrong. I tried uninstalling and re-installing on root and that did not work either
Node.js version v14.15.0 NPM Version 6.14.8 MacOS version 11.0.1