Hi. Thanks for the tutorials. I followed your 4-mqtt tutorial to the letter (including setting it up backwards!) and I get this error message in the node.script UI for mqtt-publisher:
Cannot read property 'publish' of undefined.
As though it cannot understand what client is?
I'm new to this but it looks like a catch-22: if the script isn't running it cannot instantiate the client, but when the script is ran it gives the error. Where should we start?
Hi. Thanks for the tutorials. I followed your 4-mqtt tutorial to the letter (including setting it up backwards!) and I get this error message in the node.script UI for mqtt-publisher: Cannot read property 'publish' of undefined.
As though it cannot understand what client is?
I'm new to this but it looks like a catch-22: if the script isn't running it cannot instantiate the client, but when the script is ran it gives the error. Where should we start?
Thanks