var
sys = require(
'sys'
);
var
net = require(
'net'
);
var
mqtt = require(
'mqtt'
);
var
mqtt = require(
'mqtt'
); line results in error saying:
Error: Cannot find module 'mqtt'. at Function.Module._resolveFilename (module.js:338:15). at Function.Module._load (module.js:280:25). at Module.require (module.js:364:17). at require (module.js:380:17). at repl:1:12. at REPLServer.self.eval (repl.js:110:21). at repl.js:249:20. at REPLServer.self.eval (repl.js:122:7). at Interface.<anonymous> (repl.js:239:12). at Interface.EventEmitter.emit (events.js:95:17)
Could you please guide me resolving this issue.Thanks,Rakesh
--
--
To learn more about MQTT please visit http://mqtt.org
To post to this group, send email to mq...@googlegroups.com
To unsubscribe from this group, send email to
mqtt+uns...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/mqtt
---
You received this message because you are subscribed to the Google Groups "MQ Telemetry Transport" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+uns...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.