-
Notifications
You must be signed in to change notification settings - Fork 24
Problem with npm install #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have the same problem. gyp ERR! build error npm ERR! System Linux 3.8.3-103.fc17.x86_64 |
Try three different version of npm http GET https://registry.npmjs.org/node-stringprep
npm http 304 https://registry.npmjs.org/node-stringprep
> [email protected] install /Users/fraserxu/Desktop/node-xmpp/node_modules/node-stringprep
> node-gyp rebuild
CXX(target) Release/obj.target/node_stringprep/node-stringprep.o
../node-stringprep.cc:3:10: fatal error: 'unicode/unistr.h' file not found
#include <unicode/unistr.h>
^
1 error generated.
make: *** [Release/obj.target/node_stringprep/node-stringprep.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/Cellar/node/0.10.9/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 12.4.0
gyp ERR! command "node" "/usr/local/Cellar/node/0.10.9/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/fraserxu/Desktop/node-xmpp/node_modules/node-stringprep
gyp ERR! node -v v0.10.9
gyp ERR! node-gyp -v v0.9.6
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0 |
I have the same problem on OS X 10.7.5, node v0.10.18 and npm 1.3.11. |
I have the same problem on centos-6.4-x86_64-v20130427 (running in vagrant/virtualbox). This library shouldn't require external installations to install - npm install should do everything. Since you don't have any instructions for installing libicu on CentOS, I'm not sure how to install node-stringprep. I tried |
Hi @fresheneesz I believe you need to install libicu-dev(el) in centos |
Thanks, i'll try that! |
Closing issue. If this is still a problem please can you open a new issue? There's been lots of changes recently which may have solved this issue. Thanks. |
I i had a problem with the installation of the package on Window using npm.
I attach the npm error log. Thank you.
ERR! [email protected] preinstall:
node-waf clean || (exit 0); node-waf configure build
ERR!
cmd "/c" "node-waf clean || (exit 0); node-waf configure build"
failed with 1ERR!
ERR! Failed at the [email protected] preinstall script.
ERR! This is most likely a problem with the node-stringprep package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR! node-waf clean || (exit 0); node-waf configure build
ERR! You can get their info via:
ERR! npm owner ls node-stringprep
ERR! There is likely additional logging output above.
ERR!
ERR! System Windows_NT 6.1.7601
ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "node-stringprep"
ERR! cwd C:\Program Files (x86)\nodejs
ERR! node -v v0.8.19
ERR! npm -v 1.1.0-3
ERR! code ELIFECYCLE
ERR! message [email protected] preinstall:
node-waf clean || (exit 0); node-waf configure build
ERR! message
cmd "/c" "node-waf clean || (exit 0); node-waf configure build"
failed with 1ERR! errno {}
verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: