2014-03-13 5 views
6

git에서 yeoman 프로젝트 체크 아웃을 빌드 할 때 직면 한 문제가 있습니다. Yeoman 프로젝트에 대한 git 체크 아웃을 시도하고 그래먹 서브을 실행하십시오.yeoman 프로젝트를 git 체크 아웃에서 빌드하십시오

PERSON1 요 각도를 사용하여 유사시 AngularJS와 프로젝트를 만든 : 다음은 시나리오 설명이

오류 설명 다음에 시나리오입니다. 그래먹 서브사람 1의 컴퓨터에서 정상적으로 작동합니다. Person1은 git에 코드를 푸시하여 다른 팀원이 코드에서 작업 할 수 있도록합니다. 하여 Person2가 자식 (자식 클론 < URL이>)의 체크 아웃 할 때 소요

문제가 발생.

$ grunt serve 
grunt-cli: The grunt command line interface. (v0.1.13) 

Fatal error: Unable to find local grunt. 

If you're seeing this message, either a Gruntfile wasn't found or grunt 
hasn't been installed locally to your project. For more information about 
installing and configuring grunt, please see the Getting Started guide: 

http://gruntjs.com/getting-started 

내가 시도 : : 중고

grunt serve 
Loading "Gruntfile.js" tasks...ERROR 
>> Error: Cannot find module 'load-grunt-tasks' 
Warning: Task "serve" not found. Use --force to continue. 

Aborted due to warnings. 

도구 :

npm install grunt 나는 다음과 같은 오류가있어 툴툴 거리는 소리는 다음과 같은 오류를 줄 것이다 체크 아웃 된 사본에 명령을 제공

$ grunt -version 
grunt-cli v0.1.13 
grunt v0.4.4 
$ yo -v 
1.1.2 
[email protected]:testing$ npm -version 
1.4.4 

ls -l 위의 디 직각

drwxrwxr-x app 
-rw-rw-r-- bower.json 
-rw-rw-r-- Gruntfile.js 
-rw-rw-r-- karma.conf.js 
-rw-rw-r-- karma-e2e.conf.js 
drwxrwxr-x node_modules 
-rw-rw-r-- package.json 
drwxrwxr-x test 

나는 개발을 계속할 수 있도록 git checkout에서 프로젝트를 구축하는 데 도움이 필요하다.

답변