Ionic不会创建项目

时间:2022-03-10 21:12:14

I have a problem and I don't know how solve it. I can not create an ionic project. Uninstalled all: node, angular-cli, ionic, etc. And reinstalled it but the same error continues (windows and macos):

我有一个问题,我不知道如何解决它。我不能创建一个离子项目。卸载all:node,angular-cli,ionic等。然后重新安装它,但同样的错误仍在继续(windows和macos):

I don't understand this error, I don't have install any certificate

我不明白这个错误,我没有安装任何证书

node -v v6.11.3

node -v v6.11.3

ionic -v 3.12.0

离子-v 3.12.0

angular-cli: 1.4.4 node: 6.11.3 os: win32 x64

angular-cli:1.4.4节点:6.11.3 os:win32 x64

Anyone know how to fix it ??

谁知道怎么修它 ??

Thanks

谢谢

ionic start test blank
√ Creating directory .\test - done!
[INFO] Fetching app base (https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz)
× Downloading - failed!
Error: Hostname/IP doesn't match certificate's altnames: "Host: codeload.github.com. is not in the cert's altnames: DNS:*.akamaized.net, DNS:*.akamaihd-staging.net, DNS:*.akamaized-staging.net, DNS:*.akamaihd.net, DNS:a248.e.akamai.net"
at Object.checkServerIdentity (tls.js:199:17)
at TLSSocket.<anonymous> (_tls_wrap.js:1098:29)
at emitNone (events.js:86:13)
at TLSSocket.emit (events.js:185:7)
at TLSSocket._finishInit (_tls_wrap.js:610:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38)

1 个解决方案

#1


0  

I solved the problem. The problem was my internet provider that block some dns and block my ip.

我解决了这个问题。问题是我的互联网服务提供商阻止了一些dns并阻止了我的ip。

Thanks

谢谢

#1


0  

I solved the problem. The problem was my internet provider that block some dns and block my ip.

我解决了这个问题。问题是我的互联网服务提供商阻止了一些dns并阻止了我的ip。

Thanks

谢谢