【发布时间】:2020-06-27 02:53:21
【问题描述】:
我有这个问题我也使用VPN到另一个国家但仍然有以下错误:
PS C:\Users\Arashsoft\Desktop\ionic\start_angular> ionic start
Every great app needs a name!
Please enter the full name of your app. You can change this at any time. To bypassthis prompt next time, supply name, the first argument to ionic start.
? Project name: test
Pick a framework!
Please select the JavaScript framework to use for your new app. To bypass this
prompt next time, supply a value for the --type option.
? Framework: Angular
Let's pick the perfect starter template!
Starter templates are ready-to-go Ionic apps that come packed with everything you
need to build your app. To bypass this prompt next time, supply template, the
second argument to ionic start.
? Starter template: blank
√ Preparing directory .\test - done!
Downloading and extracting blank starter
────────────────────────────────────────────────────────────
Ionic CLI update available: 5.4.16 → 6.2.1
The package name has changed from ionic to @ionic/cli!
To update, run: npm uninstall -g ionic
Then run: npm i -g @ionic/cli
────────────────────────────────────────────────────────────
Error: Client network socket disconnected before secure TLS connection was
established
at connResetException (internal/errors.js:570:14)
at TLSSocket.onConnectEnd (_tls_wrap.js:1361:19)
at Object.onceWrapper (events.js:299:28)
at TLSSocket.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1183:12)
我也卸载了 node js 并再次安装并检查了最新版本 13.11.0 但出现了同样的错误。
这是我的离子信息:
离子:
离子 CLI:5.4.16
实用程序:
cordova-res : 未安装 native-run : 未安装
系统:
NodeJS:v12.16.1 npm:6.13.4 操作系统:Windows 10
【问题讨论】:
-
任何帮助解决这个问题?
-
尝试更新您的 CLI。
npm uninstall -g ionic然后运行:npm i -g @ionic/cli -
@NajamUsSaqib 嗨不起作用
code ? Project name: testarash Let's pick the perfect starter template! Starter templates are ready-to-go Ionic apps that come packed with everything you need to build your app. To bypass this prompt next time, supply template, the second argument to ionic start. ? Starter template: blank √ Preparing directory .\testarash - done! | Downloading and extracting blank starter Error: read ECONNRESET
标签: node.js angular ionic-framework npm