amqp-node / amqplib

AMQP 0-9-1 library and client for Node.JS

Home Page:https://amqp-node.github.io/amqplib/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nodejs18 support for amqplib

CHAITANYAMALINENI opened this issue · comments

I am using amqplib for one of our projects which is running in Nodejs v16 currently. Now we are required to migrate it to Nodejs v18 but amqplib which I am using it as a npm dependency in my project is not supporting Node v18 yet. Could someone please let me know if there are plans to release support for Nodejs 18 and if there is one when it will be released.

Thanks

Hi @CHAITANYAMALINENI,

Are you having a problem running amqplib with Node 18? The project is tested against 18.1.0 and the engine specitied in package.json doesn't restrict it either

We are running amqplib in Node 18 in production, it works fine

We are also running amqplib latest in Node.js 18.13.0. We haven't found any issue so far, everything smooth.

As soon as I upgraded my local to Nodejs18 few days ago, I got error saying createChannel() is not a function something like that. So, I thought it was not supporting 18. But now when I ran it is working fine.

Thank you guys

@CHAITANYAMALINENI,

Sounds like you may have a bug in your application. The only way I can think you would get that error is if the connection object was somehow an instance of a non-connection object - and not null or undefined which would report a 'Cannot read property 'createChannel').

Anyway closing as not an issue with amqplib as far as I can tell