You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, guys. Thanks for being so active in supporting this library.
I'm running into an issue with the solutions provided in this thread. I'm running RabbitMQ 3.7.4 in Docker on OSX High Sierra. All JS is being run in Node 8. When I try to run the solution published by @facundoolano or my own code, I get the same error:
UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'once' of undefined
I isolated the EventEmitter and got a similar TypeError around channel.sendToQueue. This leads me to believe that when channel gets returned it's not the object I was anticipating (it looks like a promise). Any ideas on this? Here's my own implementation of the code, suffering from the same ailments.
Hey, guys. Thanks for being so active in supporting this library.
I'm running into an issue with the solutions provided in this thread. I'm running RabbitMQ 3.7.4 in Docker on OSX High Sierra. All JS is being run in Node 8. When I try to run the solution published by @facundoolano or my own code, I get the same error:
UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'once' of undefined
I isolated the
EventEmitter
and got a similarTypeError
aroundchannel.sendToQueue
. This leads me to believe that whenchannel
gets returned it's not the object I was anticipating (it looks like a promise). Any ideas on this? Here's my own implementation of the code, suffering from the same ailments.The text was updated successfully, but these errors were encountered: