当我升级 flutter 时,我遇到了以下错误消息。
curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
Failed to retrieve the Dart SDK from: https://storage.googleapis.com/flutter_infra/flutter/4737fc5cd89b8f0136e927b00f2e159444b95a73/dart-sdk-darwin-x64.zip
If you're located in China, please see this page:
https://flutter.io/community/china
Flutter 1.3.8 • channel beta • https://github.com/flutter/flutter.git
Framework • revision e5b1ed7a7f (6 weeks ago) • 2019-04-11 14:01:46 -0700
Engine • revision 4737fc5cd8
Tools • Dart 2.2.1 (build 2.2.1-dev.0.0 571ea80e11)
Running flutter doctor...
Downloading Dart SDK from Flutter engine 4737fc5cd89b8f0136e927b00f2e159444b95a73...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
Run Code Online (Sandbox Code Playgroud)
这是什么?有什么问题?
运行这些命令,应该可以解决问题。
echo '--no-alpn' > ~/.curlrc
export HOMEBREW_CURLRC=1
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
16118 次 |
| 最近记录: |