Closed maxguzenski closed 12 years ago
Sorry about the trouble. Thanks for reporting this. It seems that the log4js API changed and the dependency >=0.4.2 was fetching the latest version, the API of which is not compatible with our usage. Fixed in https://github.com/dhruvbird/node-xmpp-bosh/commit/55344945d4b918d8f0a1a7aeb327d9b9c5fe1c46
If you want to fix your local copy, just change log4js: ">=0.4.2" to log4js: "=0.4.2" in your package.json file.
I forgot to mention - after changing the dependency, from the directory where you have the _nodemodules directory (or the package.json file) , type:
$> npm install .
This command will fetch the right version for log4js.
I'm try to start bosh service in many ways (from source, from npm, etc) ... and I always get this error:
node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ TypeError: Object #