Closed OrigamiDream closed 4 years ago
I cannot reproduce this. Please provide the output of brew install --debug maven
@MikeMcQuaid
Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> New Formulae clip field3d pfetch ==> Updated Formulae batik evince ngt rom-tools skopeo duo_unix goreleaser nushell sane-backends vulkan-headers ==> Deleted Formulae gnome-builder /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/maven.rb /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openjdk.rb /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb /usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/2.2.17\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.4\)\ curl/7.64.1 --retry 3 --silent --location https://www.apache.org/dyn/closer.lua\?path=maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz\&asjson=1 ==> Downloading https://www.apache.org/dyn/closer.lua?path=maven/maven-3/3.6.3/b /usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/2.2.17\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.4\)\ curl/7.64.1 --retry 3 --location --silent --head --request GET http://apache.tt.co.kr/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz Already downloaded: /Users/seondongyoung/Library/Caches/Homebrew/downloads/0e3db71029ad3d74e8d92f48af665453e19b0481a616826aa0686d64a5cc865f--apache-maven-3.6.3-bin.tar.gz /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mvnvm.rb /usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/maven.rb /usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openjdk.rb /usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb Error: An exception occurred within a child process: NoMethodError: undefined method `path' for nil:NilClass Did you mean? paths /usr/local/Homebrew/Library/Homebrew/extend/os/mac/extend/ENV/super.rb:112:in `setup_build_environment' /usr/local/Homebrew/Library/Homebrew/build.rb:88:in `install' /usr/local/Homebrew/Library/Homebrew/build.rb:198:in `'
@OrigamiDream The error message should be improved but I'm pretty sure your outdated CLT is causing this, please update it and try again.
Something's funky about your CLT install where it can't find SDKs.
What does ls -l /Library/Developer/CommandLineTools/SDKs
return?
@MikeMcQuaid @Bo98 Yeah, exactly. I'm using 10.13 SDK on Catalina due to it is required to me.
I should install it manually. Thank you!
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?What you were trying to do (and why)
I tried install
maven
via homebrew.homebrew keeps throwing error.
I replaced user name of my computer to $USER bcuz it is my personal information.
Command output
What you expected to happen
It should install maven into my computer.
Step-by-step reproduction instructions (by running
brew
commands)Output of
brew config
andbrew doctor
commandsbrew config
brew doctor