insectos / node-red-ssh-exec

NodeRED Node for SSH
Apache License 2.0
2 stars 2 forks source link

Node v16 #1

Closed Botched1 closed 1 year ago

Botched1 commented 1 year ago

Cool node idea!

Any reason it requires node v18+? Lots of us still running v16.

When installing w/node 16 it yields an error:

-----------------------------------------------------------
2023-08-31T20:05:50.015Z Install : @insectos/ssh-exec 0.3.1

2023-08-31T20:05:49.715Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict @insectos/ssh-exec@0.3.1
2023-08-31T20:05:49.880Z [err] npm
2023-08-31T20:05:49.880Z [err]  WARN
2023-08-31T20:05:49.880Z [err]  config production Use `--omit=dev` instead.
2023-08-31T20:05:51.370Z [err] npm 
2023-08-31T20:05:51.370Z [err] ERR! code EBADENGINE
2023-08-31T20:05:51.370Z [err] npm 
2023-08-31T20:05:51.370Z [err] ERR! 
2023-08-31T20:05:51.370Z [err] engine Unsupported engine
2023-08-31T20:05:51.370Z [err] npm ERR! engine Not compatible with your version of node/npm: @insectos/ssh-exec@0.3.1
2023-08-31T20:05:51.370Z [err] npm ERR! notsup Not compatible with your version of node/npm: @insectos/ssh-exec@0.3.1
2023-08-31T20:05:51.370Z [err] npm ERR! notsup Required: {"node":">=18.0.0"}
2023-08-31T20:05:51.370Z [err] npm
2023-08-31T20:05:51.370Z [err]  ERR! notsup Actual:   {"npm":"8.19.4","node":"v16.20.2"}
Botched1 commented 1 year ago

Never mind, I'll just get to v18. Need to do it anyway.

Stwissel commented 1 year ago

NodeRed themselves strongly suggest v18 and I don't have bandwidth to test older versions