Skip to content
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

install package failed on Mac #1

Open
geniuslinchao opened this issue Jun 25, 2013 · 0 comments
Open

install package failed on Mac #1

geniuslinchao opened this issue Jun 25, 2013 · 0 comments

Comments

@geniuslinchao
Copy link

I checkout the last version on my Mac 10.8.4 (node v0.10.3), run "npm install" and got this error:
1 error generated.
gmake[1]: *** [hiredis.o] 错误 1
gmake[1]: 离开目录“/Users/Genius/tapit/node_modules/hiredis/deps/hiredis”
gmake: *** [all] 错误 2
npm ERR! [email protected] preinstall: make || gmake
npm ERR! sh "-c" "make || gmake" failed with 2
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is most likely a problem with the hiredis package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make || gmake
npm ERR! You can get their info via:
npm ERR! npm owner ls hiredis
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 12.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/Genius/tapit
npm ERR! node -v v0.10.3
npm ERR! npm -v 1.2.17
npm ERR! code ELIFECYCLE

I changed the hiredis version in "package.json" from "0.1.13" to "0.1.15" , and it worked fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant