Skip to content

Instantly share code, notes, and snippets.

@gilsondev
Created January 2, 2016 13:34
Show Gist options
  • Save gilsondev/6eb657020cdaf55bbcfd to your computer and use it in GitHub Desktop.
Save gilsondev/6eb657020cdaf55bbcfd to your computer and use it in GitHub Desktop.
hiredis.target.mk:102: recipe for target 'Release/obj.target/hiredis/src/hiredis.o' failed
make: *** [Release/obj.target/hiredis/src/hiredis.o] Error 1
make: Leaving directory '/home/gilson/Developer/Study/nodejs_casacodigo/livro-nodejs/projeto/ntalk/node_modules/hiredis/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.3.3-2-ARCH
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/gilson/Developer/Study/nodejs_casacodigo/livro-nodejs/projeto/ntalk/node_modules/hiredis
gyp ERR! node -v v5.3.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
ntalk@1.0.0 /home/gilson/Developer/Study/nodejs_casacodigo/livro-nodejs/projeto/ntalk
└── node-gyp@3.2.1 extraneous
npm ERR! Linux 4.3.3-2-ARCH
npm ERR! argv "/usr/bin/node" "/usr/sbin/npm" "install"
npm ERR! node v5.3.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! hiredis@0.1.17 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hiredis@0.1.17 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, 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! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs hiredis
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls hiredis
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/gilson/Developer/Study/nodejs_casacodigo/livro-nodejs/projeto/ntalk/npm-debug.log
@caio-ribeiro-pereira
Copy link

Cara, você tem que usar Node versão 0.10 ou 0.12 para rodar o projeto do livro.

@caio-ribeiro-pereira
Copy link

Se vc instalar o NVM https://github.com/creationix/nvm você poderá usar múltiplas versões do node em sua máquina e poderá instalar facilmente o node 0.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment