Closed ngzhongcai-zz closed 11 years ago
Hey, we haven't tested node-xmpp
against 0.10.X yet.
With regards to the node-stringprep
stuff as far as I understand its an optional requirement? Does the code run with a warning or completely fail?
Also please see https://github.com/astro/node-stringprep
Hi,
Thanks for reply. During installation, "npm install node-xmpp", I got the following message... user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.5"
Tried with node v0.9.9, same error exists. Can find out from you which version of node you think is ok?
I can install successfully on 0.8.X at present, this is on an ubuntu and osx system. I wouldn't recommend installing code as root. Let me know if you still experience issues on this version. I'm currently going through all old issues and getting the project going again after that I'll try and get working on nodejs > 0.8 support.
Will try again. Sorry, saw your note "Test node-xmpp in a few other node versions too". Didn't quite understand though Only 0.9 and 0.10 have the "+" signs, presume this means that this indicates they haven't been tested.
It just means that I've told travisCI to tests the code against these versions too, its not a show that node-xmpp works against > 0.8. Put there for future :)
Think I may be making a mistake somewhere. Thanks for helping out. =)
EC2 environment. Node v0.8.9
During installation, I get the same warning message.. user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.5"
After installing, I went to change the send_message.js script in the examples folder. Changed the new xmpp.Client segment as follows...
var cl= new xmpp.Client({
jid: '-' + "
Result as follows: Cannot load StringPrep-0.1.0 bindings. You may need to `npm install node-stringprep'
I'm not sure about the examples if I'm honest. The code should still run, the node-stringprep library just exposes libicu which results in 'super-fast' xml parsing. I believe node-xmpp will fallback to slower methods. If you try one of the more simple examples against an XMPP server you may have more luck.
Hi guys,
Running on node v0.10.5 and the latest version of "npm install node-xmpp". While running the send_message.js example, I got the above issue.