lcarli / NodeRedIoTHub

Fork from origin plus changes
Apache License 2.0
14 stars 24 forks source link

"TypeError: transportCtor is not a constructor" #10

Closed SjorsHijgenaar closed 6 years ago

SjorsHijgenaar commented 7 years ago

Upon sending data to an IoT data hub I get the following error:

TypeError: transportCtor is not a constructor

The data is as follows: {"deviceId":"Device","key":"xxx","Protocol":"mqtt","Data":"{\"eVerbruik\":\"0\"}"}

BPYates commented 7 years ago

@SjorsHijgenaar I have the same error... please can you let me know if you managed to resolve it?

SjorsHijgenaar commented 7 years ago

I used a different library: https://www.npmjs.com/package/node-red-contrib-azure-iot-hub I think it's that one.

Met vriendelijke groet, Sjors Hijgenaar

Verstuurd vanaf mijn iPhone

Op 6 okt. 2017 om 15:32 heeft BPYates notifications@github.com het volgende geschreven:

@SjorsHijgenaar I have the same error... please can you let me know if you managed to resolve it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

rasavant-ms commented 6 years ago

Hey @SjorsHijgenaar and @BPYates - did this work for you? Please let me know if you see this issue still and I could help out.

Armin-FB commented 6 years ago

@rasavant-ms I'm having this issue too. I used this node before and it worked fine via connectrion string

tinktonk commented 6 years ago

I have aslo the same problem with this module.... Any news on this issue?

SjorsHijgenaar commented 6 years ago

what versions are you using?

rasavant-ms commented 6 years ago

This package has been modified with more features and bug fixes. Can you try now and let me know the result please?

SjorsHijgenaar commented 6 years ago

Latest version is working smoothly for me.

rasavant-ms commented 6 years ago

Great! closing out this issue. Feel free to re-open if you face any problems.