Cloud-Automation / node-modbus

Modbus TCP Client/Server implementation for Node.JS
471 stars 175 forks source link

client example error #5

Closed sandeepbs39 closed 9 years ago

sandeepbs39 commented 9 years ago

C:\node server>node mod.js C:\node server\node_modules\socket.io\node_modules\socket.io-client\node_modules \engine.io-client\lib\transports\polling.js:23 var xhr = new XMLHttpRequest({ xdomain: false }); ^ TypeError: object is not a function at C:\node server\node_modules\socket.io\nodemodules\socket.io-client\node modules\engine.io-client\lib\transports\polling.js:23:13 at Object. (C:\node server\node_modules\socket.io\node_modules\so cket.io-client\node_modules\engine.io-client\lib\transports\polling.js:25:3) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object. (C:\node server\node_modules\socket.io\node_modules\so cket.io-client\node_modules\engine.io-client\lib\transports\polling-xhr.js:6:15)

at Module._compile (module.js:460:26)

C:\node server>