The BREW operation reported an error similar to the following:
brew install coreutils
Error: coreutils: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:73: syntax error, unexpected << def caveats; <<~EOS
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:77: syntax error, unexpected tIDENTIFIER, expecting keyword_end
can add a "gnubin" directory to your PATH from your bashrc like:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:77: syntax error, unexpected ':', expecting keyword_end
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:79: dynamic constant assignment
PATH="#{opt_libexec}/gnubin:$PATH"
^
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:81: dynamic constant assignment
Additionally, you can access their man pag...
^
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:81: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
Additionally, you can access their man pages with ...
^
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:82: syntax error, unexpected tIDENTIFIER, expecting keyword_end
the "gnuman" directory to your MANPATH from your bashrc as well:
^
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:82: syntax error, unexpected ':', expecting keyword_end
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:84: dynamic constant assignment
MANPATH="#{opt_libexec}/gnuman:$MANPATH"`
Solutions:
rm -rf /usr/local/Homebrew/.git
brew update
brew config
https://github.com/Homebrew/brew/issues/3353
div>
Read More:
- 2019.11.14 Mac uses brew to report an error: parent directory is world writable but not sticky
- Uniapp uses CMD to import uview. An error is reported, and the file search fails: ‘uview UI’‘
- SSH suddenly fails to log in, and an error is reported: failed to start openssh daemon
- Mac installation opencv brew tap homebrew / Science
- An error of 500 is reported when an item is assigned to a role
- Mac idea springboot project reported an error
- The MAC compiler Doris reported an error that thrift.annotation does not exist
- When docker starts tomcat, the access port of the container displays 404, and the source server fails to find the representation of the target resource or is unwilling to disclose an existing one
- When the mybatis field contains an expression, an error is reported when it is stored in the database
- An import error is reported in the python. The solution to setting. Pylintrc is invalid
- Pikachu vulnerability is installed in the shooting range, and an error is reported when connecting to the MySQL database
- When using freemaker template to get values, an error is reported when the attribute is empty
- The icon on the layui page is not displayed, and an error message is reported: Failed to decode downloaded font …..
- An error is reported when the laptop is turned on: image failed to verify with * access denied* press any key to continue
- The Vue project is packaged and deployed to tomcat, and an Error 404 is reported as soon as it is refreshed
- brew install tmux: Error: parent directory is world writable but not sticky
- When the spring MVC project is running on idea, an error is reported when the controller is a null pointer
- An error is reported when an android phone visits the app webpage: net::ERR_PROXY_CONNECTION_FAILED
- An error is reported when the less file is introduced into main.js
- An error is reported when vueroter jumps to the same route