2015-01-31 2 views
0

7 64 비트 : 내가 너무 요 패키지를 설치하려고했습니다오류 창 cmd를하지만 여전히 같은 오류가있어 그 통해 내가 keystone.js를 설치하기 위해 노력하고있어

npm ERR! [email protected] postinstall: `yodoctor` 
npm ERR! spawn ENOENT 
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script. 
npm ERR! This is most likely a problem with the yo package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  yodoctor 
npm ERR! You can get their info via: 
npm ERR!  npm owner ls yo 
npm ERR! There is likely additional logging output above. 
npm ERR! System Windows_NT 6.1.7601 
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "generator-keystone" 
npm ERR! cwd C:\Users\Pisa Family 
npm ERR! node -v v0.10.36 
npm ERR! npm -v 1.4.28 
npm ERR! syscall spawn 
npm ERR! code ELIFECYCLE 
npm ERR! errno ENOENT 
npm ERR! not ok code 0 

C:\Users\Pisa Family>npm install -g yo 
C:\Users\Pisa Family\AppData\Roaming\npm\yo -> C:\Users\Pisa Family\AppData\Roaming\npm\node_modules\yo\cli.js 

을, 요 의사를 시도하지만 결국 실패도 끝납니다. 여기에 오류 로그가 있습니다 :

C:\Users\Pisa Family>npm install -g yo 
C:\Users\Pisa Family\AppData\Roaming\npm\yo -> C:\Users\Pisa Family\AppData\Roaming\npm\node_modules\yo\cli.js 

> [email protected] postinstall C:\Users\Pisa Family\AppData\Roaming\npm\node_modules\yo 
> yodoctor 


npm ERR! [email protected] postinstall: `yodoctor` 
npm ERR! spawn ENOENT 
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script. 
npm ERR! This is most likely a problem with the yo package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  yodoctor 
npm ERR! You can get their info via: 
npm ERR!  npm owner ls yo 
npm ERR! There is likely additional logging output above. 
npm ERR! System Windows_NT 6.1.7601 
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "yo" 
npm ERR! cwd C:\Users\Pisa Family 
npm ERR! node -v v0.10.36 
npm ERR! npm -v 1.4.28 
npm ERR! syscall spawn 
npm ERR! code ELIFECYCLE 
npm ERR! errno ENOENT 
npm ERR! not ok code 0 

나는 이미 Google에서 검색했지만 해결책을 찾지 못했습니다. 조언과 도움이 필요합니다.

+0

보좌관의 최신 버전은 1.4.5이다. 1.3.3을 설치하는 이유는 확실하지 않습니다. 나는'npm uninstall -g yo'와'npm cache clean'을 시도 할 것입니다. 그런 다음'npm install -g yo'를 다시 설치하십시오. – JME

+0

관리자로 새 cmd를 열어보고 전체 설치 프로세스를 다시 테스트하십시오. npm에는 여러 번 관리 속성이 필요합니다. –

+0

우분투 리눅스 시도 –

답변

0

시도 업데이트 NPM

npm install -g npm 
관련 문제