Hi,
I am trying to install amqp node for nodered.
I am using this command in my windows command prompt: npm install -g node-red-contrib-amqp
I am getting this error:
2023-03-30T15:46:35.179Z Install : node-red-contrib-amqp-ack 1.1.2
2023-03-30T15:46:56.736Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-amqp-ack@1.1.2
2023-03-30T15:46:57.218Z [err] npm
2023-03-30T15:46:57.218Z [err] WARN config production Use --omit=dev
instead.
2023-03-30T15:46:59.828Z [err] npm ERR!
2023-03-30T15:46:59.829Z [err] code EBADENGINE
2023-03-30T15:46:59.830Z [err] npm ERR! engine Unsupported engine
2023-03-30T15:46:59.830Z [err] npm ERR!
2023-03-30T15:46:59.830Z [err] engine Not compatible with your version of node/npm: amqplib@0.4.2
2023-03-30T15:46:59.830Z [err] npm ERR! notsup
2023-03-30T15:46:59.830Z [err] Not compatible with your version of node/npm: amqplib@0.4.2
2023-03-30T15:46:59.830Z [err] npm ERR! notsup Required: {"node":">=0.8 <6 || ^6"}
2023-03-30T15:46:59.830Z [err] npm ERR! notsup Actual: {"npm":"9.5.0","node":"v18.15.0"}
2023-03-30T15:46:59.832Z [err]
2023-03-30T15:46:59.832Z [err] npm ERR! A complete log of this run can be found in:
2023-03-30T15:46:59.832Z [err] npm ERR! /tmp/data/.npm/_logs/2023-03-30T15_46_57_192Z-debug-0.log
2023-03-30T15:46:59.840Z rc=1
Can anyone please suggest what to do?
Thanks in advance