2016-07-14 2 views
1

Bcrypt является зависимость шахты на приложение Nodejs и при запуске TravisCI строить, эта ошибка:Bcrypt ошибка модуля NPM с TravisCI

make: Leaving directory `/home/travis/build/IBM-Bluemix/nodejs-MEAN-stack/node_modules/bcrypt/build' 
 

 
gyp[0m ERR! build error 
 

 
gyp ERR! stack Error: `make` failed with exit code: 2 
 

 
gyp ERR! stack  at ChildProcess.onExit (/home/travis/.nvm/versions/node/v4.4.5/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 3.13.0-63-generic 
 

 
gyp ERR! command "/home/travis/.nvm/versions/node/v4.4.5/bin/node" "/home/travis/.nvm/versions/node/v4.4.5/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 
 

 
gyp ERR! cwd /home/travis/build/IBM-Bluemix/nodejs-MEAN-stack/node_modules/bcrypt 
 

 
gyp ERR! node -v v4.4.5 
 

 
gyp ERR! node-gyp -v v3.3.1 
 

 
gyp ERR! not ok 
 

 
npm ERR! Linux 3.13.0-63-generic 
 

 
npm ERR! argv "/home/travis/.nvm/versions/node/v4.4.5/bin/node" "/home/travis/.nvm/versions/node/v4.4.5/bin/npm" "install" 
 

 
npm ERR! node v4.4.5 
 

 
npm ERR! npm v2.15.5 
 

 
npm ERR! code ELIFECYCLE 
 

 
npm ERR! [email protected] install: `node-gyp rebuild` 
 

 
npm ERR! Exit status 1 
 

 
npm ERR! 
 

 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. 
 

 
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 information on how to open an issue for this project with: 
 

 
npm ERR!  npm bugs bcrypt 
 

 
npm ERR! Or if that isn't available, you can get their info via: 
 

 
npm ERR! 
 

 
npm ERR!  npm owner ls bcrypt 
 

 
npm mERR! There is likely additional logging output above. 
 

 
npm ERR! Please include the following file with any support request: 
 

 
npm ERR!  /home/travis/build/IBM-Bluemix/nodejs-MEAN-stack/npm-debug.log

Весь журнал ошибок здесь: https://s3.amazonaws.com/archive.travis-ci.org/jobs/144662107/log.txt

Repository здесь: https://github.com/IBM-Bluemix/nodejs-MEAN-stack/tree/production-sample

ответ

0

Вы могли бы попытаться заменить Bcrypt РМЖ ryptjs, который оптимизирован bcrypt в простом JavaScript с нулевыми зависимостями.

+0

Я посмотрю, смогу ли я это сделать –

Смежные вопросы