I upgraded to Node 0.12.6, and begun getting the following error on the first request to Kloudless web api:
throw new TypeError('msecs must be a number');
^
After investigation, it seems there was a default value on the msec parameter of the setTimeout function on the previous version of node (0.10), which has disappeared.
I fixed this temporarily on line 21 of kloudless.js (added the timeout property):
this._api = {
auth: null,
protocol: Kloudless.defaultConfig.protocol,
host: Kloudless.defaultConfig.host,
port: Kloudless.defaultConfig.port,
ca: null,
basePath: Kloudless.defaultConfig.basePath,
timeout: 2000
};