wrong number of arguments (given 1, expected 0)

执行 brew install jenkins-lts的时候报错

wrong number of arguments (given 1, expected 0)

解决方法
执行 brew doctor
提示如图
wrong number of arguments (given 1, expected 0)_第1张图片

根据提示执行命令即可

rm -rf “/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core”

brew tap homebrew/core
然后再执行
brew install jenkins-lts 就可以了

你可能感兴趣的:(iOS,jenkins,运维)