Angular:Qs.unescape不是使用amqp-ts的函数

时间:2019-01-17 08:25:31

标签: angular typescript amqp

我想在Angular中使用amqp-ts Libary。但是在使用它时出现了这个错误:

Unhandled rejection TypeError: QS.unescape is not a function
openFrames@http://localhost:4200/vendor.js:55720:13
connect@http://localhost:4200/vendor.js:55798:14
connect@http://localhost:4200/vendor.js:54072:3
./node_modules/amqp-ts/lib/amqp-ts.js/</Connection.prototype.tryToConnect@http://localhost:4200/vendor.js:53013:9
./node_modules/amqp-ts/lib/amqp-ts.js/</Connection.prototype.rebuildConnection/this.initialized<@http://localhost:4200/vendor.js:52985:13
./node_modules/amqp-ts/lib/amqp-ts.js/</Connection.prototype.rebuildConnection@http://localhost:4200/vendor.js:52984:28
Connection@http://localhost:4200/vendor.js:52973:9
./src/app/send-rabbit-mq.service.ts/SendRabbitMQService.prototype.Send@http://localhost:4200/main.js:2329:30
./src/app/app.component.ts/AppComponent.prototype.SendRabbit@http://localhost:4200/main.js:2238:9
View_AppComponent_0/<@ng:///AppModule/AppComponent.ngfactory.js:19:23
handleEvent@http://localhost:4200/vendor.js:41372:41
callWithDebugContext@http://localhost:4200/vendor.js:42465:22
debugHandleEvent@http://localhost:4200/vendor.js:42168:12
dispatchEvent@http://localhost:4200/vendor.js:38831:16
renderEventHandlerClosure/<@http://localhost:4200/vendor.js:39275:38
decoratePreventDefault/<@http://localhost:4200/vendor.js:51409:36
./node_modules/zone.js/dist/zone.js/</</ZoneDelegate.prototype.invokeTask@http://localhost:4200/polyfills.js:4852:17
onInvokeTask@http://localhost:4200/vendor.js:34932:24
./node_modules/zone.js/dist/zone.js/</</ZoneDelegate.prototype.invokeTask@http://localhost:4200/polyfills.js:4851:41
./node_modules/zone.js/dist/zone.js/</</Zone.prototype.runTask@http://localhost:4200/polyfills.js:4624:28
./node_modules/zone.js/dist/zone.js/</</ZoneTask.invokeTask@http://localhost:4200/polyfills.js:4927:24
invokeTask@http://localhost:4200/polyfills.js:6173:9
globalZoneAwareCallback@http://localhost:4200/polyfills.js:6199:17

可以帮忙吗?

0 个答案:

没有答案