xmppo / node-xmpp-bosh

An XMPP BOSH & WebSocket server (connection manager) written on node.js using Javascript
https://github.com/xmppo/node-xmpp-bosh
263 stars 85 forks source link

--config not working #11

Closed derekslenk closed 12 years ago

derekslenk commented 12 years ago

Whenever I try to set a config, because I want to change the libpurple setting, I get

oot@epimetheus:~/.nvm/v0.4.7/lib# node node_modules/node-xmpp-bosh/run-server.js --config 'bosh.js.conf' Caught Exception: 'Error: Cannot find module './true'' while trying to read config file './true'

I have tried it with basically every different string combination

dhruvbird commented 12 years ago

Hi Derek! You need to pass the option in as: --config=bosh.js.conf OR --config='bosh.js.conf'

Let me know if it still doesn't work for you.

derekslenk commented 12 years ago

With that file being in your node_modules/node-xmpp-bosh/ folder?

dhruvbird commented 12 years ago

Yes, the file should be in some folder that is in node's modules lookup path OR you can pass it an absolute path.

derekslenk commented 12 years ago

That worked, thank you much :)

Hopefully setting the config will help me connect using TLS...

dhruvbird commented 12 years ago

(y)