NRCHKB / node-red-contrib-homekit-bridged

Node-RED Contribution - HomeKit Bridged : Node-RED nodes to simulate Apple HomeKit devices.
https://nrchkb.github.io
MIT License
412 stars 52 forks source link

[Help needed]: Cannot install NRCHKB 1.6.1 on dietpi 9.5.1 with NR 3.1.10, node v22.3.0, npm 10.8.1 #556

Closed ckishappy closed 3 weeks ago

ckishappy commented 3 weeks ago

Your Current NRCHKB Plugin Version

1.6.1

Operating System

dietpi 9.5.1 - Node-red 3.1.10, node v22.3.0, npm 10.8.1

How can we help?

Cannot install the latest NRCHKB on the newest dietpi version. Error message:

2024-06-12T20:05:42.756Z Installieren : node-red-contrib-homekit-bridged 1.6.1

2024-06-12T20:05:42.659Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-homekit-bridged@1.6.1 2024-06-12T20:05:42.781Z [err] npm warn config production Use --omit=dev instead. 2024-06-12T20:05:58.663Z [err] npm error code EBADENGINE 2024-06-12T20:05:58.663Z [err] npm error engine Unsupported engine 2024-06-12T20:05:58.663Z [err] npm error engine Not compatible with your version of node/npm: @homebridge/ciao@1.2.0 2024-06-12T20:05:58.664Z [err] npm error notsup Not compatible with your version of node/npm: @homebridge/ciao@1.2.0 2024-06-12T20:05:58.664Z [err] npm error notsup Required: {"node":"^18 || ^20"} 2024-06-12T20:05:58.664Z [err] npm error notsup Actual: {"npm":"10.8.1","node":"v22.3.0"} 2024-06-12T20:05:58.666Z [err] npm error A complete log of this run can be found in: /mnt/dietpi_userdata/node-red/.npm/_logs/2024-06-12T20_05_42_750Z-debug-0.log 2024-06-12T20:05:58.672Z rc=1

Any more details?

If this is specific to some hardware or specific software version, please explain here.

Any code or functions to add?

No response

crxporter commented 3 weeks ago

Calling @Shaquu and @caitken-com - any thoughts?

GogoVega commented 3 weeks ago

The required version is 18 or 20. The current is 22.

So maybe install manually with --ignore-engines

Shaquu commented 3 weeks ago

Yup, either downgrade node or force install

NorthernMan54 commented 3 weeks ago

Downgrade

On the homebridge/hap-nodejs side we are still testing NodeJS 22

ckishappy commented 3 weeks ago

OK will downgrade then for the time being