FGRibreau / FGRibreau/node-amqp-tool

TypeError: Cannot call method 'bind' of undefined

Offen
#7 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug help needed
Vorherrschende Sprache
JavaScript
Sterne
26
Forks
13
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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. (/usr/local/lib/node_modules/amqp-tool/node_modules/lazy/lazy.js:74:37)
at Lazy.emit (events.js:98:17)
at Lazy. (/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. (/usr/local/lib/node_modules/amqp-tool/node_modules/lazy/lazy.js:219:27)
at Lazy. (/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).

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.