Skip to content

install package failed on Mac #1

@geniuslinchao

Description

@geniuslinchao

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! hiredis@0.1.13 preinstall: make || gmake
npm ERR! sh "-c" "make || gmake" failed with 2
npm ERR!
npm ERR! Failed at the hiredis@0.1.13 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions