dimitrilarue / node-facebook-chat

No longer supported
26 stars 16 forks source link

Installation Error on Mac Lion #13

Closed blakels closed 10 years ago

blakels commented 10 years ago

During installation I got the following error (starts on line 18950...I included prior logs to get your bearings):

18928 verbose rebuildBundles 'stream-combiner', 18928 verbose rebuildBundles 'syntax-error', 18928 verbose rebuildBundles 'through', 18928 verbose rebuildBundles 'umd' ] 18929 info install browserify@2.35.4 18930 info postinstall browserify@2.35.4 18931 info node-stringprep@0.1.8 Failed to exec install script 18932 info /Users/blakehcaldwell/Documents/Projects/node/node_modules/facebook-chat/node_modules/node-stringprep unbuild 18933 info preuninstall node-stringprep@0.1.8 18934 verbose unsafe-perm in lifecycle true 18935 info uninstall node-stringprep@0.1.8 18936 verbose false,/Users/blakehcaldwell/Documents/Projects/node/node_modules,/Users/blakehcaldwell/Documents/Projects/node/node_modules/facebook-chat/node_modules unbuild node-stringprep@0.1.8 18937 info postuninstall node-stringprep@0.1.8 18938 verbose about to build /Users/blakehcaldwell/Documents/Projects/node/node_modules/facebook-chat 18939 info /Users/blakehcaldwell/Documents/Projects/node/node_modules/facebook-chat unbuild 18940 info preuninstall facebook-chat@0.0.3 18941 info uninstall facebook-chat@0.0.3 18942 verbose true,/Users/blakehcaldwell/Documents/Projects/node/node_modules,/Users/blakehcaldwell/Documents/Projects/node/node_modules unbuild facebook-chat@0.0.3 18943 info postuninstall facebook-chat@0.0.3 18944 info node-expat@2.0.0 Failed to exec install script 18945 info /Users/blakehcaldwell/Documents/Projects/node/node_modules/facebook-chat/node_modules/node-xmpp/node_modules/node-expat unbuild 18946 info preuninstall node-expat@2.0.0 18947 info uninstall node-expat@2.0.0 18948 verbose false,/Users/blakehcaldwell/Documents/Projects/node/node_modules,/Users/blakehcaldwell/Documents/Projects/node/node_modules/facebook-chat/node_modules/node-xmpp/node_modules unbuild node-expat@2.0.0 18949 info postuninstall node-expat@2.0.0 18950 error error rolling back Error: ENOTEMPTY, rmdir '/Users/blakehcaldwell/Documents/Projects/node/node_modules/facebook-chat/node_modules/node-xmpp/node_modules/node-expat' 18950 error error rolling back facebook-chat@0.0.3 { [Error: ENOTEMPTY, rmdir '/Users/blakehcaldwell/Documents/Projects/node/node_modules/facebook-chat/node_modules/node-xmpp/node_modules/node-expat'] 18950 error error rolling back errno: 53, 18950 error error rolling back code: 'ENOTEMPTY', 18950 error error rolling back path: '/Users/blakehcaldwell/Documents/Projects/node/node_modules/facebook-chat/node_modules/node-xmpp/node_modules/node-expat' } 18951 error node-stringprep@0.1.8 install: node-gyp rebuild 18951 error Exit status 1 18952 error Failed at the node-stringprep@0.1.8 install script. 18952 error This is most likely a problem with the node-stringprep package, 18952 error not with npm itself. 18952 error Tell the author that this fails on your system: 18952 error node-gyp rebuild 18952 error You can get their info via: 18952 error npm owner ls node-stringprep 18952 error There is likely additional logging output above. 18953 error System Darwin 11.4.2 18954 error command "/usr/local/Cellar/node/0.10.22/bin/node" "/usr/local/bin/npm" "install" "facebook-chat" 18955 error cwd /Users/blakehcaldwell/Documents/Projects/node 18956 error node -v v0.10.22 18957 error npm -v 1.3.14 18958 error code ELIFECYCLE 18959 verbose exit [ 1, true ]

blakels commented 10 years ago

Tracked the issue down to node-stringprep. Posted the solution in a bug I posted in the stringprep project: https://github.com/node-xmpp/node-stringprep/issues/41

lloydwatkin commented 10 years ago

Great thanks!