2014-10-28 4 views
0
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2 
gyp ERR! stack  at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-     gyp/lib/build.js:267:23) 
gyp ERR! stack  at ChildProcess.EventEmitter.emit (events.js:107:17) 
gyp ERR! stack  at Process.ChildProcess._handle.onexit (child_process.js:1045:12) 
gyp ERR! System Linux 3.2.0-40-virtual 
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 
gyp ERR! cwd /home/ubuntu/grooform/fungroo/node_modules/bcrypt 
gyp ERR! node -v v0.11.12 
gyp ERR! node-gyp -v v0.12.2 
gyp ERR! not ok 
npm ERR! [email protected] install: `node-gyp rebuild` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] install script. 
npm ERR! This is most likely a problem with the bcrypt 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 their info via: 
npm ERR!  npm owner ls bcrypt 
npm ERR! There is likely additional logging output above. 

npm ERR! System Linux 3.2.0-40-virtual 
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" 
npm ERR! cwd /home/ubuntu/grooform/fungroo 
npm ERR! node -v v0.11.12 
npm ERR! npm -v 1.4.3 
npm ERR! code ELIFECYCLE 
npm ERR! 

npm ERR! 추가 로깅 세부 사항은 npm ERR! /home/ubuntu/grooform/fungroo/npm-debug.log npm ERR! 하지 확인 코드 0우분투 ec2에 bcrypt 설치

나는/우분투

당신이 도와 주실 수 libcurl4 - 데브 - OpenSSL이 너무하지만 여전히 같은 오류 또한 내가 설치 한 파이썬을 받고 있어요 집 세트/가정을 가리 키도록 설치 ..

한 당신이 UPG해야합니다 있도록

는 신선한 우분투 받고 다음과 같은 오류 노드 v0.11 불안정한 지점의 일부 (이상) 버전

gyp: Call to 'node -e "require('nan')"' returned exit status 1. while trying to load binding.gyp 
npm http 304 https://registry.npmjs.org/pause/0.0.1 
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1 
gyp ERR! stack  at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:431:16) 
gyp ERR! stack  at ChildProcess.EventEmitter.emit (events.js:98:17) 
gyp ERR! stack  at Process.ChildProcess._handle.onexit (child_process.js:797:12) 
gyp ERR! System Linux 3.13.0-36-generic 
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild" 
gyp ERR! cwd /home/ubuntu/fungroo/node_modules/bcrypt 
gyp ERR! node -v v0.10.25 
gyp ERR! node-gyp -v v0.10.10 
gyp ERR! not ok 
npm WARN This failure might be due to the use of legacy binary "node" 
npm WARN For further explanations, please read 
/usr/share/doc/nodejs/README.Debian 

npm ERR! weird error 1 
+0

'npm --loglevel = silly install bcrypt'의 출력을 게시 할 수 있습니까? – mscdex

+0

http://pastebin.com/SeKHiDux – paparoch

답변

1

nanhas issues 입어 당신의 불안정한 노드 버전 (v0.11.14는이 글을 쓰는 시점에서 가장 최신 버전 임)을 사용하거나 안정 버전의 노드 (이 글을 쓰는 시점에서 v0.10.33)를 사용하십시오.

+0

노드를 최신 v0.10.33으로 업데이트하면 나를 위해 일했습니다. – paparoch