2016-04-04 22 views
0

node.js. bcrypt'e bağımlılığım olarak dahil oldum. Python env değişkeninin kurulu olduğu python 2.7 yüklü var. Ben clueless an buDüğüm yoluyla bcrypt yükleniyor

çözmek için nasıl duyuyorum Ama npm yüklemek çalıştırmak zaman, o js saf modüldür bcryptjs, kullanabileceğiniz aşağıdaki

584 silly install resolved [] 
585 verbose about to build C:\Users\i054564\git\ipl-app\node_modules\bcrypt\node_modules\nan 
586 info build C:\Users\i054564\git\ipl-app\node_modules\bcrypt\node_modules\nan 
587 info linkStuff [email protected] 
588 silly linkStuff [email protected] has C:\Users\i054564\git\ipl-app\node_modules\bcrypt\node_modules as its parent node_modules 
589 verbose linkBins [email protected] 
590 verbose linkMans [email protected] 
591 verbose rebuildBundles [email protected] 
592 info install [email protected] 
593 info postinstall [email protected] 
594 verbose unlock done using C:\Users\i054564\AppData\Roaming\npm-cache\_locks\nan-748d8af25c51a897.lock for C:\Users\i054564\git\ipl-app\node_modules\bcrypt\node_modules\nan 
595 verbose about to build C:\Users\i054564\git\ipl-app\node_modules\bcrypt 
596 info build C:\Users\i054564\git\ipl-app\node_modules\bcrypt 
597 info linkStuff [email protected] 
598 silly linkStuff [email protected] has C:\Users\i054564\git\ipl-app\node_modules as its parent node_modules 
599 verbose linkBins [email protected] 
600 verbose linkMans [email protected] 
601 verbose rebuildBundles [email protected] 
602 verbose rebuildBundles [ 'bindings', 'nan' ] 
603 info install [email protected] 
604 verbose unsafe-perm in lifecycle true 
605 info [email protected] Failed to exec install script 
606 verbose unlock done using C:\Users\i054564\AppData\Roaming\npm-cache\_locks\bcrypt-0ddde1df84d59032.lock for C:\Users\i054564\git\ipl-app\node_modules\bcrypt 
607 verbose stack Error: [email protected] install: `node-gyp rebuild` 
607 verbose stack Exit status 1 
607 verbose stack  at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:214:16) 
607 verbose stack  at emitTwo (events.js:87:13) 
607 verbose stack  at EventEmitter.emit (events.js:172:7) 
607 verbose stack  at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14) 
607 verbose stack  at emitTwo (events.js:87:13) 
607 verbose stack  at ChildProcess.emit (events.js:172:7) 
607 verbose stack  at maybeClose (internal/child_process.js:827:16) 
607 verbose stack  at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 
608 verbose pkgid [email protected] 
609 verbose cwd C:\Users\i054564\git\ipl-app 
610 error Windows_NT 6.3.9600 
611 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
612 error node v4.4.0 
613 error npm v2.14.20 
614 error code ELIFECYCLE 
615 error [email protected] install: `node-gyp rebuild` 
615 error Exit status 1 
616 error Failed at the [email protected] install script 'node-gyp rebuild'. 
616 error This is most likely a problem with the bcrypt package, 
616 error not with npm itself. 
616 error Tell the author that this fails on your system: 
616 error  node-gyp rebuild 
616 error You can get information on how to open an issue for this project with: 
616 error  npm bugs bcrypt 
616 error Or if that isn't available, you can get their info via: 
616 error 
616 error  npm owner ls bcrypt 
616 error There is likely additional logging output above. 
617 verbose exit [ 1, true ] 
618 verbose unbuild node_modules\bcrypt 
619 info preuninstall [email protected] 
620 info uninstall [email protected] 
+0

bcrypt'i yüklemek için hangi komutu kullanıyorsunuz? –

+0

Ayrıca hangi platformu kullanıyorsunuz (WIndows/Linux/Mac)? – christophetd

+0

Aslında npm-debug.log'un içeriği yerine konsola yazdırılanı yayınlayabilir misiniz? – mscdex

cevap

0

ile başarısız olur. npm install bcryptjs