当前位置: 首页 > news >正文

南宁网页设计价格太原百度seo排名

南宁网页设计价格,太原百度seo排名,做业务网站,推销商务网站的途径有哪些前言: 最近准备开发Flutter项目时,在安装环境时,安装Homebew时遇到了以下报错信息,在这里分享一下。 报错信息: ~ % brew tap dart-lang/dart > Tapping dart-lang/dart Cloning into /opt/homebrew/Library/Tap…

前言:

最近准备开发Flutter项目时,在安装环境时,安装Homebew时遇到了以下报错信息,在这里分享一下。

报错信息:

~ % brew tap dart-lang/dart
==> Tapping dart-lang/dart
Cloning into '/opt/homebrew/Library/Taps/dart-lang/homebrew-dart'...
fatal: unable to access 'https://github.com/dart-lang/homebrew-dart/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 
Error: Failure while executing; `git clone https://github.com/dart-lang/homebrew-dart /opt/homebrew/Library/Taps/dart-lang/homebrew-dart --origin=origin --template= --config core.fsmonitor=false` exited with 128.

解决方案:

安装 ARM 版 Homebrew
ARM版Homebrew最终被安装在/opt/homebrew路径下。

直接执行:

/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"

然后还需设置环境变量,具体操作步骤如下,一定要仔细阅读。

在终端执行命令echo $SHELL获得终端类型:

/bin/zsh => zsh => .zprofile
/bin/bash => bash => .bash_profile

如果看到的是/bin/zsh执行:

echo 'eval "$(/opt/homebrew/bin/brew shellenv)" #brew.idayer.com' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

如果看到的是/bin/bash执行:

echo 'eval "$(/opt/homebrew/bin/brew shellenv)" #brew.idayer.com' >> ~/.bash_profile
eval "$(/opt/homebrew/bin/brew shellenv)"

从macOS Catalina(10.15.x) 版开始,Mac使用zsh作为默认Shell。

Homebrew 安装成功~

~ % brew -v
Homebrew 4.1.7

然后继续执行

 brew tap dart-lang/dartbrew install dart

提示安装失败

~ % brew tap dart-lang/dart
==> Tapping dart-lang/dart
Cloning into '/opt/homebrew/Library/Taps/dart-lang/homebrew-dart'...error: RPC failed; curl 35 LibreSSL SSL_read: Operation timed out, errno 60
fatal: expected flush after ref listing
Error: Failure while executing; `git clone https://github.com/dart-lang/homebrew-dart /opt/homebrew/Library/Taps/dart-lang/homebrew-dart --origin=origin --template= --config core.fsmonitor=false` exited with 128.

再次执行效果:

~ % brew tap dart-lang/dart
==> Tapping dart-lang/dart
Cloning into '/opt/homebrew/Library/Taps/dart-lang/homebrew-dart'...
remote: Enumerating objects: 3684, done.
remote: Counting objects: 100% (1438/1438), done.
remote: Compressing objects: 100% (437/437), done.
remote: Total 3684 (delta 1185), reused 1199 (delta 995), pack-reused 2246
Receiving objects: 100% (3684/3684), 671.61 KiB | 54.00 KiB/s, done.
Resolving deltas: 100% (2461/2461), done.
Tapped 22 formulae (53 files, 857.5KB).

安装成功啦!!!!

然后安装

~ % brew install dart
==> Fetching dart-lang/dart/dart
==> Downloading https://storage.googleapis.com/dart-archive/channels/stable/release/3.1.
############################################                                       54.8%curl: (56) LibreSSL SSL_read: Connection reset by peer, errno 54Error: dart: Failed to download resource "dart"
Download failed: https://storage.googleapis.com/dart-archive/channels/stable/release/3.1.0/sdk/dartsdk-macos-arm64-release.zip

又出现报错信息了

那我们再次尝试一下呢

这次就很快安装成功了

brew install dart
==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api/formula.jws.js
##O#- #                                                                                
==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api/cask.jws.json
##O#- #                                                                                
==> Fetching dart-lang/dart/dart
==> Downloading https://storage.googleapis.com/dart-archive/channels/stable/release/3.1.
################################################################################# 100.0%
==> Installing dart from dart-lang/dart
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences.If that doesn't show you any updates, run:sudo rm -rf /Library/Developer/CommandLineToolssudo xcode-select --installAlternatively, manually download them from:https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 14.2.==> Caveats
Please note the path to the Dart SDK:/opt/homebrew/opt/dart/libexec
==> Summary
🍺  /opt/homebrew/Cellar/dart/3.1.0: 987 files, 554.3MB, built in 6 seconds
==> Running `brew cleanup dart`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

安装环境的时候和网络也有一定的关系,我们可以多试两次

我们我们测试一下安装成功没

~ % dart --version
Dart SDK version: 3.1.0 (stable) (Tue Aug 15 21:33:36 2023 +0000) on "macos_arm64"

👌👌👌

http://www.zhongyajixie.com/news/5979.html

相关文章:

  • 响应式企业网站 下载代写平台在哪找
  • 怎么把微信公众号的文章wordpressseo快速排名是什么
  • 做动漫短视频网站seo搜索引擎优化实战
  • 自助网站建设系统企业管理软件
  • 市政府网站集约化建设调研报告广州:推动优化防控措施落地
  • 广东深广东深圳网站建设成都本地推广平台
  • 做雨棚的网站seo模拟点击软件
  • 怎么做转载小说网站如何推广普通话
  • 哪个网站可以接工程做抖音seo查询工具
  • 批量做网站软件推广方案模板
  • 微商来分销系统百度ocpc如何优化
  • 互联网 网站建设价格上海网站建设推广服务
  • 单页网站开发seo快速建站
  • 线上店铺建站合肥网络公司seo
  • wordpress 隐藏链接插件seo是什么姓
  • 重庆秀山网站建设百度怎么推广自己的店铺
  • 公司做网站的费用怎么做账seminar怎么读
  • 做网站侵权吗网络营销方法有哪些
  • 网站备案要关多久网络建站
  • 设计素材网站哪个最好用怎么做公司网站
  • 云集网站建设公司网站优化推广教程
  • 做一些购物网站网站维护费用一般多少钱
  • 做网站哪些网络公司好房产网站建设
  • wordpress edcseo外推
  • 鹤岗市城乡建设局网站东莞营销网站建设推广
  • 的动态网站开发2023今日新闻头条
  • 网站建设模板删不掉国内免费域名注册
  • 济南免费做网站网络营销学什么
  • 怎么做二级网站域名旅游app推广营销策略
  • 张家口做公司网站应用宝aso优化