-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brew install danger/tap/danger-kotlin error on Apple M1 #207
Comments
java --version |
also with |
@f-meloni is there any updates on this? i'm having the same issue since I switched to M1 from last year. |
Does this happen even if you install it via the script? |
only tried |
with the script it actually always fails because of permissions so had to hack it by creating the folders in usr manually. |
same issue. looks like the problem is the java version it's trying to use though.
|
I have this same exact issue with homebrew. Apparently, it still tries today to download version 1.0.0 even if the version on Github is 1.2.0 also may I point out that the version of kotlin and gradle inside the installation script are pretty old?
` |
@spectrumIG I had the same issue as you. I've made a pr to resolve this #286 Edit: The maintainers merged other changes to update gradle and kotlin. Compiles on Xcode 16 on Sequoia. |
brew install danger/tap/danger-kotlin error on Apple M1:
==> Installing dependencies for danger/tap/danger-kotlin: danger/tap/danger-js, openjdk, kotlin, maven and gradle
==> Installing danger/tap/danger-kotlin dependency: danger/tap/danger-js
🍺 /opt/homebrew/Cellar/danger-js/11.0.2: 3 files, 115.3MB, built in 2 seconds
==> Installing danger/tap/danger-kotlin dependency: openjdk
==> Pouring openjdk--17.0.2.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/openjdk/17.0.2: 640 files, 306.4MB
==> Installing danger/tap/danger-kotlin dependency: kotlin
==> Pouring kotlin--1.6.10.all.bottle.tar.gz
🍺 /opt/homebrew/Cellar/kotlin/1.6.10: 112 files, 74MB
==> Installing danger/tap/danger-kotlin dependency: maven
==> Pouring maven--3.8.4.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/maven/3.8.4: 79 files, 10MB
==> Installing danger/tap/danger-kotlin dependency: gradle
==> Pouring gradle--7.4.all.bottle.tar.gz
🍺 /opt/homebrew/Cellar/gradle/7.4: 11,253 files, 267.7MB
==> Installing danger/tap/danger-kotlin
==> make install PREFIX=/opt/homebrew/Cellar/danger-kotlin/1.0.0
Last 15 lines from /Users/stefanfessler/Library/Logs/Homebrew/danger-kotlin/01.make:
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
at java.base/java.lang.Thread.run(Thread.java:833)
1 error
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 5s
make: *** [build] Error 1
The text was updated successfully, but these errors were encountered: