2014-04-05 4 views
0

그냥 "assets"이라는 이름의 빈 디렉토리를 php lavarel 프로젝트 폴더와 함께 생성하고 다음 명령을 실행하십시오. -> yo angular, 터미널에 sass/compass, bootstrap 등을 포함하고 시작하라. 이 발전기를 설치하십시오. 어쨌든, 나는 많은 오류가있어서 그 원인에 대한 아이디어가 없다. 도움이 필요하고 여기에 오류가 있습니다.Yeoman angularjs generator

npm npm ERR!http Error: ENOTEMPTY, rmdir 'xxx/app/assets/node_modules/grunt/lib' 
GET https://registry.npmjs.org/optimist 
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.1.0 
npm ERR! command "node" "/usr/local/bin/npm" "install" 
npm ERR! cwd xxx/app/assets 
npm ERR! node -v v0.10.26 
npm ERR! npm -v 1.4.3 
npm ERR! path xxx/app/assets/node_modules/grunt/lib 
npm ERR! code ENOTEMPTY 
npm ERR! errno 53 

npm ERR! Error: ENOENT, open 'xxx/app/assets/node_modules/grunt/package.json' 
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.1.0 
npm ERR! command "node" "/usr/local/bin/npm" "install" "grunt-karma" "karma-ng-html2js-preprocessor" "karma-ng-scenario" "--save-dev" 
npm ERR! cwd xxx/app/assets 
npm ERR! node -v v0.10.26 
npm ERR! npm -v 1.4.3 
npm ERR! path xxx/app/assets/node_modules/grunt/package.json 
npm ERR! code ENOENT 
npm ERR! errno 34 

npm ERR! 
npm ERR! Additional logging details can be found in: 
npm ERR!  xxx/app/assets/npm-debug.log 
npm ERR! not ok code 0 

npm ERR! 
npm ERR! Additional logging details can be found in: 
npm ERR!  xxx/assets/npm-debug.log 
npm ERR! not ok code 0 
+0

명시된대로 npm-debug.log의 내용을 확인할 수 있습니까? – suriyanto

답변

2

사용자가 프로젝트 폴더를 소유하지 않은 것처럼 보입니다. chownchmod 폴더가 사용자 계정에서 작동합니다.

관련 문제