문제

I want to run

cordova create hello com.example.hello HelloWorld

but all I get is the base folder structure and the error: connect ETimedOut.

I have set the proxy for node.js and PhoneGap projects get setup fine. Cordova cli is setup fine so far (can find it in c:\Users\username\AppData\Roaming\npm)

Anything I am missing? (PATH is set to ...npm)

도움이 되었습니까?

해결책

I managed to fix it:

  • set the urls platform.js

    http instead of https.
    
  • installed ANT and set some environement vars:

    ANT_HOME c:\dev\apache-ant-1.9.3\
    ANT_OPTS -Dhttp.proxyHost=http://proxy.myAddress.de -Dhttp.proxyPort=3000
    PATH %ANT_HOME%\bin
    
  • set some additonal Adnroid environment vars:

    PATH %ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools
    

Hope this helps others

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top