2015-08-20 6 views
6

Próbowałem zainstalować węzełBB, który jest jednym z systemów forum o otwartym kodzie źródłowym.Po raz pierwszy problem z odbudową statusu węzła-gypu po zainstalowaniu węzłaBB

Kiedy próbuję uruchomić polecenie w this github page. Otrzymałem komunikat o błędzie poniżej:

Następnie próbuję to sprawdzić na stronie github mmmagic. Wydaje się, że nikt nie spotkał się z tym samym problemem. Zastanawiam się, może to dlatego, że moje nodejs lub środowiska maszyny?

Mój system to OX Yosemite wersja 10.10.4 I już zainstalowałem narzędzie wiersza polecenia xcode i xcode, również, gcc tam było.

Ktoś może mi pomóc? Thx ...

Zawartość w NPM-debug.log


8351 verbose rebuildBundles [email protected] 
8352 verbose rebuildBundles [ 'nan' ] 
8353 info install [email protected] 
8354 verbose unsafe-perm in lifecycle true 
8355 info [email protected] Failed to exec install script 
8356 verbose unlock done using /Users/tyler/.npm/_locks/mmmagic-8554fb98045d0882.lock for /Users/tyler/Work/forum/NodeBB/node_modules/mmmagic 
8357 verbose stack Error: [email protected] install: `node-gyp rebuild` 
8357 verbose stack Exit status 1 
8357 verbose stack  at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16) 
8357 verbose stack  at EventEmitter.emit (events.js:110:17) 
8357 verbose stack  at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14) 
8357 verbose stack  at ChildProcess.emit (events.js:110:17) 
8357 verbose stack  at maybeClose (child_process.js:1015:16) 
8357 verbose stack  at Process.ChildProcess._handle.onexit (child_process.js:1087:5) 
8358 verbose pkgid [email protected] 
8359 verbose cwd /Users/tyler/Work/forum/NodeBB 
8360 error Darwin 14.4.0 
8361 error argv "node" "/usr/local/bin/npm" "install" 
8362 error node v0.12.7 
8363 error npm v2.11.3 
8364 error code ELIFECYCLE 
8365 error [email protected] install: `node-gyp rebuild` 
8365 error Exit status 1 
8366 error Failed at the [email protected] install script 'node-gyp rebuild'. 
8366 error This is most likely a problem with the mmmagic package, 
8366 error not with npm itself. 
8366 error Tell the author that this fails on your system: 
8366 error  node-gyp rebuild 
8366 error You can get their info via: 
8366 error  npm owner ls mmmagic 
8366 error There is likely additional logging output above. 
8367 verbose exit [ 1, true ] 
8368 verbose unbuild node_modules/mmmagic 
8369 info preuninstall [email protected] 
8370 info uninstall [email protected] 
8371 verbose unbuild rmStuff [email protected] from /Users/tyler/Work/forum/NodeBB/node_modules 
8372 info postuninstall [email protected] 
8373 silly gentlyRm /Users/tyler/Work/forum/NodeBB/node_modules/mmmagic is being purged from base /Users/tyler/Work/forum/NodeBB 
8374 verbose gentlyRm don't care about contents; nuking /Users/tyler/Work/forum/NodeBB/node_modules/mmmagic 
8375 silly vacuum-fs purging /Users/tyler/Work/forum/NodeBB/node_modules/mmmagic 
8376 silly vacuum-fs quitting because other entries in /Users/tyler/Work/forum/NodeBB/node_modules 
+0

Proszę dodać zawartość '/ Users/tyler/Work/forum/NodeBB/npm-debug.log' do pytania (prawdopodobnie lepiej jest użyć czegoś takiego jak http://pastebin.com/) – Salem

+0

@Salem Po prostu dodaj część tego. –

+0

Wygląda na to, że wszyscy mamy ten sam problem. Wciąż czekam na kogoś, kto nam pomoże. :) –

Odpowiedz

1

Jak stwierdza błędów, masz jakiś problem z uprawnieniami /Users/tyler/.node-gyp/0.12.7. Sprawdź prawa własności do katalogu i czy twój użytkownik ma do niego dostęp do odczytu/zapisu.

Powiązane problemy