这是输出,知道我在代理下运行它,并且我指定了代理设置.
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
Run Code Online (Sandbox Code Playgroud)
然后我运行此命令在指定的文件夹"hello"中创建一个新的应用程序.
C:\>cordova create hello com.example.hello HelloWorld
Creating a new cordova project with name "HelloWorld" and id "com.example.hello"
at location "C:\hello"
Downloading cordova library for www...
Run Code Online (Sandbox Code Playgroud)
这是错误:
Error: connect ETIMEDOUT
at errnoException (net.js:904:11)
at Object.afterConnect [as oncomplete] (net.js:895:19)
Run Code Online (Sandbox Code Playgroud)