我正在尝试使用 Hugo 尝试访问一个新站点,但在安装过程中被卡住了。我已经安装了 Homebrew,在运行该版本时,我得到以下信息:
~ % brew --version
Homebrew 2.7.2
Homebrew/homebrew-core (no git repository)
Homebrew/homebrew-cask (git revision b96680c; last commit 2021-01-07)
Run Code Online (Sandbox Code Playgroud)
当我跑 brew install hugo
我得到以下信息:
~ % brew install hugo
fatal: Could not resolve HEAD to a revision
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "hugo".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching …Run Code Online (Sandbox Code Playgroud) 我正在尝试修复此错误:
Error: swiftlint does not have a version "0.11.1" in the Cellar.
Run Code Online (Sandbox Code Playgroud)
通过运行:
brew install swiftlint-0.11.1
Run Code Online (Sandbox Code Playgroud)
然而,这不起作用,然后我尝试了" brew search swiftlint",但没有出现.
有人能指出我使用特定版本安装swiftlint的正确方法吗?
我想79.0.3945.36用 brew安装 chromedriver 版本。当我尝试跑步时
brew cask install chromedriver@79.0.3945.36
Run Code Online (Sandbox Code Playgroud)
它没有说 chromedriver@79.0.3945.36 is unavailable: No Cask with this name exists.