Node-red-contrib-zwave-js node will not update to 9.0.3

Hi,
I am trying to update Zwave.js to the latest version and it is failing

535 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--no-audit" "--no-update-notifier" "--no-fund" "--save" "--save-prefix=~" "--production" "--engine-strict" "node-red-contrib-zwave-js@9.0.3"
536 verbose node v17.9.0
537 verbose npm v8.5.5
538 error code EBADENGINE
539 error engine Unsupported engine
540 error engine Not compatible with your version of node/npm: node-red-contrib-zwave-js@9.0.3
541 error notsup Not compatible with your version of node/npm: node-red-contrib-zwave-js@9.0.3
541 error notsup Required: {"node":">=18.0.0"}
541 error notsup Actual: {"npm":"8.5.5","node":"v17.9.0"}
542 verbose exit 1
543 timing npm Completed in 17449ms

from the log above it seems i need node.js > 18.0 and i have 17.9.0

when i attempt to upgrade node.js it says i have the latest node
i am running node red on unbuntu on a pi400
any help would be appreciated
Thank you

Hi,

error notsup Required: {"node":">=18.0.0"}

Update Node.js to v18

With what command?

You can use the script to update to v18 with --node18

Thank you for your quick response and that worked perfectly.
Zwave.js now updated

Thank you again

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.