2017-01-26 11 views
0

코도바 프로젝트에 CorHttpd 플러그인을 어떻게 추가합니까? 명령은 무엇입니까?Cordova 버전 6.4.0 - 어떻게 httpd 플러그인을 설치 하시겠습니까?

How to use CorHttpd:

Add the plugin to your cordova project:

내가 시도 :

cordova plugin add https://github.com/floatinghotpot/cordova-httpd.git 

을하지만,이 명령이 작동하지 않습니다이 링크에

https://github.com/floatinghotpot/cordova-httpd , 그들은 말한다. 이 명령을 실행하면 다음 메시지가 나타납니다.

Error: Failed to fetch plugin https://github.com/floatinghotpot/cordova-httpd.gi t via git. Either there is a connection problems, or plugin spec is incorrect: Error: "git" command line tool is not installed: make sure it is accessi ble on your PATH.

이 문제에 대한 도움말이 필요합니다.

답변

0

모든 자식 하위 패키지를 추가해야합니다. 다음 플러그인 설치를

sudo apt-get install git-all 

을 그리고 : : 실행하십시오 당신은 설치해야

cordova plugin add https://github.com/floatinghotpot/cordova-httpd.git 
0

을 자식 :

창에

: (자식 명령이 PATH 환경 변수에 있어야)

Download here

linux/mac :

sudo apt-get install git-all