You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to subscribe to a non thing topic in a thingShadow but it throws an error. In the connect event I try to subscribe but it throws the following error 'TypeError: device.operation is not a function'. I'm using node 0.12.x.
/Users/maartenhuijsmans/GitProjects/triflux/node_modules/aws-iot-device-sdk/thing/index.js:650
device.operation( topic, options, callback );
^
TypeError: device.operation is not a function
at thingShadowsClient._nonThingOperation (/Users/maartenhuijsmans/GitProjects/triflux/node_modules/aws-iot-device-sdk/thing/index.js:650:20)
at thingShadowsClient.subscribe (/Users/maartenhuijsmans/GitProjects/triflux/node_modules/aws-iot-device-sdk/thing/index.js:672:12)
at thingShadowsClient.<anonymous> (/Users/maartenhuijsmans/GitProjects/triflux/src/iot.js:142:22)
at emitNone (events.js:67:13)
at thingShadowsClient.emit (events.js:166:7)
at MqttClient.<anonymous> (/Users/maartenhuijsmans/GitProjects/triflux/node_modules/aws-iot-device-sdk/thing/index.js:291:13)
at emitNone (events.js:72:20)
at MqttClient.emit (events.js:166:7)
at MqttClient._handleConnack (/Users/maartenhuijsmans/GitProjects/triflux/node_modules/mqtt/lib/client.js:667:10)
at MqttClient._handlePacket (/Users/maartenhuijsmans/GitProjects/triflux/node_modules/mqtt/lib/client.js:271:12)
The text was updated successfully, but these errors were encountered:
I try to subscribe to a non thing topic in a thingShadow but it throws an error. In the connect event I try to subscribe but it throws the following error 'TypeError: device.operation is not a function'. I'm using node 0.12.x.
My code:
The stacktrace:
The text was updated successfully, but these errors were encountered: