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
416 stars 52 forks source link

[Help needed]: Can't install homekit-bridge #521

Closed Lopatalo closed 1 year ago

Lopatalo commented 1 year ago

Your Current NRCHKB Plugin Version

1.5.0

Operating System

Raspberry pi

How can we help?

Can't install homekit-bridge

Any more details?

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

Any code or functions to add?

2023-05-05T14:05:58.641Z Install : node-red-contrib-homekit-bridged 1.5.0

2023-05-05T14:05:57.019Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-homekit-bridged@1.5.0
2023-05-05T14:05:58.163Z [err] npm
2023-05-05T14:05:58.164Z [err]  WARN
2023-05-05T14:05:58.164Z [err]  config production Use `--omit=dev` instead.
2023-05-05T14:06:00.279Z [err] npm
2023-05-05T14:06:00.280Z [err]  ERR!
2023-05-05T14:06:00.280Z [err]  code EBADENGINE
2023-05-05T14:06:00.284Z [err] npm
2023-05-05T14:06:00.285Z [err]  
2023-05-05T14:06:00.285Z [err] ERR! engine Unsupported engine
2023-05-05T14:06:00.285Z [err] npm ERR! 
2023-05-05T14:06:00.286Z [err] engine Not compatible with your version of node/npm: @homebridge/ciao@1.1.6
2023-05-05T14:06:00.286Z [err] npm ERR! 
2023-05-05T14:06:00.286Z [err] notsup Not compatible with your version of node/npm: @homebridge/ciao@1.1.6
2023-05-05T14:06:00.286Z [err] npm ERR! notsup Required: {"node":"^14"}
2023-05-05T14:06:00.287Z [err] npm ERR!
2023-05-05T14:06:00.287Z [err]  notsup Actual:   {"npm":"8.19.4","node":"v16.20.0"}
2023-05-05T14:06:00.293Z [err] 
2023-05-05T14:06:00.293Z [err] npm ERR!
2023-05-05T14:06:00.294Z [err]  A complete log of this run can be found in:
2023-05-05T14:06:00.294Z [err] npm ERR!     /home/pi/.npm/_logs/2023-05-05T14_05_58_097Z-debug-0.log
2023-05-05T14:06:00.307Z rc=1
Shaquu commented 1 year ago

Possibly caused by homebridge/ciao#30

Shaquu commented 1 year ago

At least three options:

  1. Wait for them to fix it homebridge/ciao#30
  2. Use Node.js 14
  3. Install our node with --ignore-engines argument