question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Request: Where to get Node.js 16.18?

See original GitHub issue

Describe Your Problem

SwitchBot-App gives a warning in log that my node.js is too old

Relevant log output

Log:
The plugin "homebridge-switchbot" requires Node.js version of ^14.20.1 || ^16.18.0 || ^18.10.0 which does not satisfy the current Node.js version of v16.17.1. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF

I installed Homebridge not via homebridge.io, so no hb-service. In deb.nodesorce.com/node_16.x the newest version is 16.17.1 and I din'd find a 16.18.x for Raspberry/Bullseye elsewhere. Or is that a bug?

So it ist just a warning. The plugin works for the moment.

Config for homebridge-switchbot

No response

Screenshots

Device & Model

Bot, Meter, MeterPlus, Contact

Node.js Version

16.17.1

NPM Version

8.15.0

Homebridge Version

1.5.0

Homebridge SwitchBot Plugin Version

2.1.2

Homebridge Config UI X Plugin Version

4.50.1

Operating System

Debian Bullseye on RaspberryPi 4

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
donavanbeckercommented, Oct 19, 2022

since you have service, just run this command:

sudo hb-service update-node
0reactions
HolgerAusBcommented, Oct 19, 2022

shame on me! I thought hb-service was available only when installed via repo.homebridge.io but you are right, it is there.

Thank you so much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node v16.18.0 (LTS)
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Read more >
Node JS upgrade to 16.18 issue: File and Request types not ...
So I uninstall node js in my laptop and install nodejs 16.18.0. The errors are something like this: import { createParamDecorator, ...
Read more >
Install Node.js Locally with Node Version Manager (nvm)
By the end of this tutorial, you should be able to install the nvm command and use it to manage different versions of...
Read more >
How To Install Node.js on Ubuntu 18.04 - DigitalOcean
Now you have the necessary tools to work with npm packages that require compiling code from source. In this section, you successfully installed ......
Read more >
Download & Update Node.js to the Latest Version! Node v19 ...
Add fetch API: Adds experimental support to the fetch API. This adds the --experimental-fetch flag that installs the fetch , Request , Response...
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