I run this command "amqp-tool --host localhost -u guest -p guest -q queue1 --count 5 --import dump.json".
It comes this error.
/usr/local/lib/node_modules/amqp-tool/bin/amqp-tool:133
streamController.close(stream, conn.destroySoon.bind(conn));
^
TypeError: Cannot call method 'bind' of undefined
at stopImport (/usr/local/lib/node_modules/amqp-tool/bin/amqp-tool:133:53)
at importMsg (/usr/local/lib/node_modules/amqp-tool/bin/amqp-tool:128:7)
at /usr/local/lib/node_modules/amqp-tool/node_modules/lazy/lazy.js:99:35
at Lazy.<anonymous> (/usr/local/lib/node_modules/amqp-tool/node_modules/lazy/lazy.js:74:37)
at Lazy.emit (events.js:98:17)
at Lazy.<anonymous> (/usr/local/lib/node_modules/amqp-tool/node_modules/lazy/lazy.js:74:22)
at Lazy.emit (events.js:95:17)
at yieldTo (/usr/local/lib/node_modules/amqp-tool/node_modules/lazy/lazy.js:181:18)
at Function.<anonymous> (/usr/local/lib/node_modules/amqp-tool/node_modules/lazy/lazy.js:219:27)
at Lazy.<anonymous> (/usr/local/lib/node_modules/amqp-tool/node_modules/lazy/lazy.js:187:21)
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26268836-typeerror-cannot-call-method-bind-of-undefined?utm_campaign=plugin&utm_content=tracker%2F2158434&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2158434&utm_medium=issues&utm_source=github).
I run this command "amqp-tool --host localhost -u guest -p guest -q queue1 --count 5 --import dump.json".
It comes this error.