node.js - TypeError: transportCtor is not a constructor in NodeRedIoTHub -


i trying send message device in azure iot hub. trying using noderediothub library in node-red on raspberrypi running raspbian 4.1.18-v7, nodejs v6.11.1 , npm v3.10.10. message payload according library's specifications , of protocol type "mqtt". when try send message through azureiothub node gives following error:

typeerror: transportctor not constructor

is there wrong distribution? or doing wrong in node red flow? have upgraded/installed running:

bash <(curl -sl https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered) sudo npm install -g azure-iot-device@latest sudo npm install -g azure-iot-device-mqtt@latest sudo npm install -g node-red-contrib-azure-iot-hub 


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -