离子项目创建超时

时间:2018-11-06 12:56:14

标签: node.js ionic-framework npm ionic2 ionic3

使用创建空项目时

ionic start helloWorld blank --verbose

我得到了错误:

√ Preparing directory .\helloWorld - done!
  ionic:commands:start Tar extraction created for C:\workspace\helloWorld +0ms
  superagent GET https://d2ql0qc7j8u4b2.cloudfront.net/angular-official-blank.tar.gz +0ms
/ Downloading and extracting blank starter
Error: connect ETIMEDOUT xxx.xxx.xxx.xxx

    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1113:14)
  ionic Error: connect ETIMEDOUT xxx.xxx.xxx.xxx

npm config set proxy=http://xxx.xxx.xxx.xxx:8080 npm config set https_proxy=http://xxx.xxx.xxx.xxx:8080

但是没有任何结果。

0 个答案:

没有答案