2014-07-07 2 views
0

나는 build-nodejs-npm-installation-package-scratch에서 예제를 실행 중입니다. npm 저장소에 업로드하는 대신 Github에 넣고 npm을 통해 다운로드하려고합니다. 나는 npm install git+https://github.com/t2wu/replaceme.git를 실행하고 다음 가지고 :Nith Github에서 직접 설치 오류 : ENOENT

npm ERR! Error: ENOENT, chmod '/private/tmp/node_modules/replaceme_tim/replaceme.js' 
npm ERR! If you need help, you may report this *entire* log, 
npm ERR! including the npm and node versions, at: 
npm ERR!  <http://github.com/npm/npm/issues> 

npm ERR! System Darwin 13.2.0 
npm ERR! command "node" "/usr/local/bin/npm" "install" "git+https://github.com/t2wu/replaceme.git" 
npm ERR! cwd /private/tmp 
npm ERR! node -v v0.10.28 
npm ERR! npm -v 1.4.9 
npm ERR! path /private/tmp/node_modules/replaceme_tim/replaceme.js 
npm ERR! code ENOENT 
npm ERR! errno 34 
npm ERR! 
npm ERR! Additional logging details can be found in: 
npm ERR!  /private/tmp/npm-debug.log 
npm ERR! not ok code 0 

내가 거기에 package.json을 가지고, 내가 잘못이 무엇인지 알아낼 수 있습니다.

편집 : 나는 익스프레스 OK를 설치할 수 있습니다,하지만 난 누락되어 권한 또는 연결되지 않은 파일 NPM이 작동하는 동안에

+0

관리자 권한으로 cmd를 실행하면 phonegap을 ionstalling하는 동안 시도해 보았습니다. goo.gl/r9lJnx –

답변

0

이 일이 내 연습 모듈을 설치할 수 없습니다. 이 topicc는 github, here에서도 볼 수 있습니다.

admin perms로 실행 해보십시오.

+0

Express를 설치할 수 있습니다. 하지만 연습 모듈을 설치할 수는 없습니다. 내 모듈에 문제가 있습니까? – huggie

+0

@huggie 어쩌면. 확실하지 않다 – ArsenArsen

관련 문제