plugin icon indicating copy to clipboard operation
plugin copied to clipboard

Node Error

Open tjridge opened this issue 1 year ago • 5 comments
trafficstars

What happened?

Plug in won't load due to node error. I have the most recent node version, but get the below error:

Error: Your current Node.js version (v20.12.2) is incompatible with the RSA_PKCS1_PADDING used by the plugin. If you run the plugin with an incompatible version of Node.js, livestream functionality will be disrupted.

  You can override this warning by configuring a special parameter in the global configuration.
  To resolve this issue, please consider downgrading to a compatible version using a command similar to: sudo hb-service update-node 20.11.0.

  Versions known to cause compatibility issues with this plugin include those within the following ranges:
  - Node.js 18.x.x (starting from 18.19.1 up to the next major release)
  - Node.js 20.x.x (starting from 20.11.1 up to the next major release)
  - Node.js 21.x.x (starting from 21.6.2 up to the next major release)

Device Type

other (UnSupported)

Plugin Version

v3.0.x (Best Effort)

HomeBridge Version

v1.7.x (Supported)

NodeJS Version

v20 (Supported)

Operating System

Raspbian 10+ (Supported)

Relevant log output

Error: Your current Node.js version (v20.12.2) is incompatible with the RSA_PKCS1_PADDING used by the plugin.
      If you run the plugin with an incompatible version of Node.js, livestream functionality will be disrupted. 

      You can override this warning by configuring a special parameter in the global configuration.
      To resolve this issue, please consider downgrading to a compatible version using a command similar to: sudo hb-service update-node 20.11.0.

      Versions known to cause compatibility issues with this plugin include those within the following ranges:
      - Node.js 18.x.x (starting from 18.19.1 up to the next major release)
      - Node.js 20.x.x (starting from 20.11.1 up to the next major release)
      - Node.js 21.x.x (starting from 21.6.2 up to the next major release)

config

N/A

tjridge avatar Apr 22 '24 20:04 tjridge

Did you check this Common Issues pages ?

github-actions[bot] avatar Apr 22 '24 20:04 github-actions[bot]

Did you read the error message?

You'll need to run the following within the Homebridge terminal.

hb-service update-node 20.11.0

town3r avatar Apr 22 '24 20:04 town3r

Same here!

ryadkarar avatar May 02 '24 10:05 ryadkarar

Every Homebridge update updates node.js and then the plugin doesn't work anymore until you downgrade node.js to 20.11.0. Please update therefore the plugin.

TheSentinel0101 avatar May 02 '24 21:05 TheSentinel0101

Did you read the error message?

You'll need to run the following within the Homebridge terminal.

hb-service update-node 20.11.0

My concern has been, would downgrading Node.js that many minor versions break all the other plugins I have installed? Turns out, my other plugins seem to be working fine.

rdustinb avatar Dec 14 '24 22:12 rdustinb