# Getting error ampq when installation

**URL:** <https://discourse.nodered.org/t/getting-error-ampq-when-installation/77085>\
**Category:** General\
**Created:** [30 March 2023 16:00 UTC](https://discourse.nodered.org/t/getting-error-ampq-when-installation/77085 "2023-03-30T16:00:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jameer.basha](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jameer.basha](https://discourse.nodered.org/u/jameer.basha)\
**Post date:** [30 March 2023 16:00 UTC](https://discourse.nodered.org/t/getting-error-ampq-when-installation/77085/1 "2023-03-30T16:00:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [30 March 2023 16:21 UTC](https://discourse.nodered.org/t/getting-error-ampq-when-installation/77085/2 "2023-03-30T16:21:56Z")

</div>

See [Unsupported engine for amqplib@0.4.2 · Issue #36 · abreits/node-red-contrib-amqp · GitHub](https://github.com/abreits/node-red-contrib-amqp/issues/36) 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.

---

<div class="post-metadata">

**Author:** ![jameer.basha](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jameer.basha](https://discourse.nodered.org/u/jameer.basha)\
**Post date:** [31 March 2023 04:29 UTC](https://discourse.nodered.org/t/getting-error-ampq-when-installation/77085/3 "2023-03-31T04:29:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [31 March 2023 10:40 UTC](https://discourse.nodered.org/t/getting-error-ampq-when-installation/77085/4 "2023-03-31T10:40:34Z")

</div>

Have you checked out all the options in [Library - Node-RED](https://flows.nodered.org/search?term=rabbitmq)?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 May 2023 10:40 UTC](https://discourse.nodered.org/t/getting-error-ampq-when-installation/77085/5 "2023-05-30T10:40:46Z")

</div>

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