我node --version v0.8.22
在 Windows 7 上。我正在尝试node-xmpp
使用命令安装npm install node-xmpp
. 我已经安装了 express、log4js 和 socket.io npm install
,但是 node-xmpp 抛出了以下错误。
786 info preuninstall node-xmpp@0.3.2
787 info uninstall node-xmpp@0.3.2
788 verbose true,C:\www\resume-bootstrap\src\node_modules,C:\www\resume-bootstrap\src\node_modules unbuild node-xmpp@0.3.2
789 info postuninstall node-xmpp@0.3.2
790 error node-expat@2.0.0 install: `node-gyp rebuild`
790 error `cmd "/c" "node-gyp rebuild"` failed with 1
791 error Failed at the node-expat@2.0.0 install script.
791 error This is most likely a problem with the node-expat package,
791 error not with npm itself.
791 error Tell the author that this fails on your system:
791 error node-gyp rebuild
791 error You can get their info via:
791 error npm owner ls node-expat
791 error There is likely additional logging output above.
792 error System Windows_NT 6.1.7601
793 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "node-xmpp"
794 error cwd C:\www\resume-bootstrap\src
795 error node -v v0.8.22
796 error npm -v 1.2.14
797 error code ELIFECYCLE
798 verbose exit [ 1, true ]
知道这意味着什么吗?
谢谢!