icanos / ng2-mqtt

Angular2 port of the mqttws31 library
17 stars 24 forks source link

Paho is not defined error #26

Open yogeshkathayat opened 4 years ago

yogeshkathayat commented 4 years ago

when using with Angular it is not throwing any error on compilation but when I run my application it is throwing following error in the console.

mqttws31.js:84 Uncaught ReferenceError: Paho is not defined at Object../node_modules/ng2-mqtt/mqttws31.js (mqttws31.js:84)

Angular Version : - 10.1.2 ng2-mqtt version : - 0.1.2