Skip to content

Node Version

Ben edited this page May 12, 2021 · 16 revisions

Supported Node Versions

  • This plugin works with Node v12 and v14.
  • I recommend using Node v14.17.0 and if you are running an earlier version then you may receive a warning saying the plugin is incompatible (this is not the case as per the point above).
  • The reason for displaying this warning is a helpful reminder that a newer version of Node is available and, for good practice, updating would be a good idea.

Updating Node

Homebridge

HOOBS v4

  • You can use the 'Check for Updates' feature to update your Node version:

    hoobs 4 node update

HOOBS v3

Only do this if you are comfortable with accessing your HOOBS instance via SSH as in some circumstances this will be required.

  1. Run this command in the HOOBS terminal to update your version of node:

    wget -q -O - http://bit.ly/get-hoobs | sudo bash /dev/stdin --node 14.17.0
  2. Once this has finished it's a good idea to restart the HOOBS server

  3. If the HOOBS UI becomes unresponsive, access your HOOBS instance via SSH and run these two commands separately:

    sudo npm uninstall -g @hoobs/hoobs
    sudo npm install -g --unsafe-perm @hoobs/hoobs
  4. Once this is complete, the HOOBS UI should become available again with node updated. You can verify the system's version of node in the HOOBS terminal by running:

    node -v