How to switch to hb-service?

See original GitHub issue

Can’t use sudo hb-service install --user homebridge getting hb-service: command not found

Path for installing modules globally home/pi/.npm-global I used this manual for setting up this folder because I was getting permission errors with some plugins https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally

Node.js was installed with this command curl -sL https://deb.nodesource.com/setup_11.x | sudo bash -

  • Node.js Version: 11.15
  • NPM Version: 6.13
  • Homebridge Version: latest
  • Homebridge Config UI X Version: latest
  • Operating System: Raspbian Buster
  • Process Supervisor: Systemd

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
oznucommented, Jan 11, 2020

Actually, I wouldn’t do that just yet. Let me test what’s going to happen.

1reaction
oznucommented, Jan 12, 2020

Thank for for testing @Olepir, I forgot to add the --unsafe-perm flag to the install command in the wiki when copying the instructions from the Windows 10 guide.

I’ve fixed this up now. You can probably run these commands to get you back to where you need to be:

# remove
sudo npm uninstall -g homebridge homebridge-config-ui-x

# reinstall
sudo npm install -g --unsafe-perm homebridge homebridge-config-ui-x

After doing that the hb-service command should be available.

Read more comments on GitHub >

github_iconTop Results From Across the Web

hb-service restart child bridge? : r/homebridge - Reddit
Sorry for the dumb question but I am not finding the syntax to restart a specific child bridge via the CLI. Id rather...
Read more >
HM Blog | / Update to HB Service Mode - Homemanager App
From Homemanager Team (ENG): This support article gives you a step by step guide explaining how to switch to the official "Homebridge ...
Read more >
General information - Internet Banking
By choosing “Register by card number” at https://www.hbservice.com and ... To change the password for access to the Internet Banking system press on...
Read more >
homebridge-hubitat - npm
sudo hb-service stop sudo hb-service update-node 18.0.0 sudo hb-service start ... Do you have Hubitat Button devices, or Z-wave switches, ...
Read more >
oznu/homebridge:hb-service-no-avahi-arm32v6 - Docker Hub
oznu/homebridge:hb-service-no-avahi-arm32v6. Digest:sha256:ff9a66cf5a7343e812cdef7a293a31ed6427ce498b1e75dab6408f74a7c65dac. OS/ARCH. linux/arm.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found