Getting error ampq when installation

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

See Unsupported engine for amqplib@0.4.2 · Issue #36 · abreits/node-red-contrib-amqp · GitHub which is an unnadressed issue more than two years old. The node is no longer supported so you will probably have to fix it or find an alternative way of doing what you want.

ok thansk ,
There is any other option to connect rabbitmq in nodered?

Have you checked out all the options in Library - Node-RED?

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