simple-xmpp / node-simple-xmpp

Simple High Level NodeJS XMPP Client
300 stars 90 forks source link

cannot install to windows box #5

Closed Mirodil closed 11 years ago

Mirodil commented 12 years ago

i have been tried to install to windows box and getting the following error message.

C:\Program Files\nodejs>npm install simple-xmpp npm http GET https://registry.npmjs.org/simple-xmpp npm http 200 https://registry.npmjs.org/simple-xmpp npm http GET https://registry.npmjs.org/simple-xmpp/-/simple-xmpp-0.1.5beta.tgz npm http GET https://registry.npmjs.org/node-xmpp npm http GET https://registry.npmjs.org/node-stringprep npm http GET https://registry.npmjs.org/qbox/0.1.3 npm http 200 https://registry.npmjs.org/qbox/0.1.3 npm http GET https://registry.npmjs.org/qbox/-/qbox-0.1.3.tgz npm http 200 https://registry.npmjs.org/node-stringprep npm http GET https://registry.npmjs.org/node-stringprep/-/node-stringprep-0.1.4. tgz npm http 200 https://registry.npmjs.org/node-xmpp npm http GET https://registry.npmjs.org/node-xmpp/-/node-xmpp-0.3.2.tgz

node-stringprep@0.1.4 install C:\Program Files\nodejs\node_modules\simple-xmpp \node_modules\node-stringprep sh ./install.sh

'sh' is not recognized as an internal or external command, operable program or batch file. npm ERR! EEXIST, mkdir 'C:\Program Files\nodejs\node_modules\simple-xmpp\node_mo dules\node-xmpp\lib\xmpp' File exists: C:\Program Files\nodejs\node_modules\simple-xmpp\node_modules\node- xmpp\lib\xmpp Move it away, and try again.

npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" "simple-xmpp" npm ERR! cwd C:\Program Files\nodejs npm ERR! node -v v0.8.0 npm ERR! npm -v 1.1.32 npm ERR! path C:\Program Files\nodejs\node_modules\simple-xmpp\node_modules\node -xmpp\lib\xmpp npm ERR! fstream_path C:\Program Files\nodejs\node_modules\simple-xmpp\node_modu les\node-xmpp\lib\xmpp\component.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code EEXIST npm ERR! message EEXIST, mkdir 'C:\Program Files\nodejs\node_modules\simple-xmpp \node_modules\node-xmpp\lib\xmpp' npm ERR! errno 47 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:171:23 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\mkd irp\index.js:45:53 npm ERR! fstream_stack Object.oncomplete (fs.js:297:15) npm ERR! 47 errno npm ERR! node-stringprep@0.1.4 install: sh ./install.sh npm ERR! cmd "/c" "sh ./install.sh" failed with 1 npm ERR! npm ERR! Failed at the node-stringprep@0.1.4 install script. npm ERR! This is most likely a problem with the node-stringprep package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! sh ./install.sh npm ERR! You can get their info via: npm ERR! npm owner ls node-stringprep npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" "simple-xmpp" npm ERR! cwd C:\Program Files\nodejs npm ERR! node -v v0.8.0 npm ERR! npm -v 1.1.32 npm ERR! code ELIFECYCLE npm ERR! message node-stringprep@0.1.4 install: sh ./install.sh npm ERR! message cmd "/c" "sh ./install.sh" failed with 1 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Program Files\nodejs\npm-debug.log npm ERR! not ok code 0

C:\Program Files\nodejs>

soggie commented 12 years ago

node-expat does not seem to play nice with node v0.8.x versions. This is node-xmpp problem me thinks.

arunoda commented 12 years ago

yeah may be. It need libexpat on linux. @astro does node-xmpp works with windows?

astro commented 12 years ago

@arunoda I don't have Windows myself, but as node-expat has recently been made compatible, node-xmpp should run.

silverbucket commented 11 years ago

Just pruning old issues, It seems this bug can be closed now.