有没有人有安装node-xmpp的更新指南?

时间:2013-04-17 07:48:51

标签: xmpp node-xmpp

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

我尝试过安装,但继续收到以下错误:

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

这是stringprep的日志:

root@node-xmpp:~/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

> node-stringprep@0.1.5 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'
node-stringprep@0.1.5 node_modules/node-stringprep

2 个答案:

答案 0 :(得分:3)

我在Fedora 17系统上安装node-xmpp时遇到了这个问题。

我的解决方案是 yum install libicu-devel

libicu “为软件应用程序提供Unicode和全球化支持”,我想node-xmpp需要最新版本。

请参阅https://github.com/astro/node-stringprep

答案 1 :(得分:0)

我在Debian 6系统上安装node-xmpp时遇到了这个问题。 我使用apt-get install libicu-dev,我已升级节点,请按照此问题https://github.com/astro/node-stringprep/issues/32但问题无法解决

相关问题