2013-04-17 25 views
2

有没有人有在Cent OS或Ubuntu的最新版本上从头到尾安装node-xmpp的更新指南?有没有人有安装node-xmpp的更新指南?

我试图安装,但继续出现以下错误:

Cannot load StringPrep-0.1.0 bindings. You may need to `npm install node-stringprep' 

这是日志STRINGPREP:

[email protected]:~/node-latest-install# npm install node-stringprep 
npm http GET https://registry.npmjs.org/node-stringprep 
npm http 200 https://registry.npmjs.org/node-stringprep 
npm http GET https://registry.npmjs.org/node-stringprep/-/node-stringprep-0.1.5.tgz 
npm http 200 https://registry.npmjs.org/node-stringprep/-/node-stringprep-0.1.5.tgz 

> [email protected] install /root/node-latest-install/node_modules/node-stringprep 
> node-gyp rebuild 

make: Entering directory `/root/node-latest-install/node_modules/node-stringprep/build' 
CXX(target) Release/obj.target/node-stringprep/node-stringprep.o 
SOLINK_MODULE(target) Release/obj.target/node-stringprep.node 
SOLINK_MODULE(target) Release/obj.target/node-stringprep.node: Finished 
COPY Release/node-stringprep.node 
make: Leaving directory `/root/node-latest-install/node_modules/node-stringprep/build' 
[email protected] node_modules/node-stringprep 
+0

不相关型号的问题,但只是想分享的是,我试图在Windows上安装节点XMPP但现在看来,它不会安装在它上面。让我知道是否有人尝试过这样做..我正在关注如何使用nodejs创建Google聊天漫游器的教程。 – noobcode

回答

3

我有完全相同这个问题上的Fedora 17上安装节点XMPP系统。

对我来说,解决方案是百胜安装libicu-devel的

libicu“提供Unicode和全球化支持的软件应用程序”,我想是由节点 - 需要上最新版本的这XMPP。

https://github.com/astro/node-stringprep