-
-
Notifications
You must be signed in to change notification settings - Fork 154
Description
Hi there folks!
First of all, wanted to thank you soundly. Really, this is impressive, both the idea and the execution. Thank you a lot for your work.
Kudos to the entire team. <confetti, fanfares, horns blaring, roaring applause>
Again, I'm really grateful for your work done on this project guys.
The issue I found has a workaround - namely, lower Java to 11. I tried running freshly coded repo, from master, on XUbuntu with Java 17, via Gradle wrapper, via installed Gradle and failed on both accounts - with different error messages. Succeeded when I lowered Java to 11 and
Java 17, Gradle 7.2 (via wrapper) - fails on npm dependencies
Welcome to Gradle 7.2!
Here are the highlights of this release:
[...]
For more details see https://docs.gradle.org/7.2/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :buildSrc:jar
:jar: No valid plugin descriptors were found in META-INF/gradle-plugins
> Task :installNpmDeps FAILED
Downloading https://nodejs.org/dist/v10.24.1/node-v10.24.1-linux-x64.tar.xz
Unpacking /home/myUser/.gradle/native-binaries/nodejs/native-binaries/nodejs/node-v10.24.1-linux-x64.tar/9wklcpvdlbpoa075kk0os7g4x/node-v10.24.1-linux-x64.tar.xz to /home/myUser/.gradle/native-binaries/nodejs/native-binaries/nodejs/node-v10.24.1-linux-x64.tar/9wklcpvdlbpoa075kk0os7g4x
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':installNpmDeps'.
> Error while evaluating property 'environmentProvider' of task ':installNpmDeps'
> java.lang.reflect.UndeclaredThrowableException (no error message)
* 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 3m 49s
12 actionable tasks: 12 executed
Gradle 6.2, installed, not via wrapper
√ zap-hud +main+ $ gradle runZap
Welcome to Gradle 6.8.1!
Here are the highlights of this release:
[...]
For more details see https://docs.gradle.org/6.8.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :buildSrc:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildSrc:compileJava'.
> java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x340dcbd0) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x340dcbd0
* 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 36s
?1 zap-hud +main+ $ java -version
openjdk version "17" 2021-09-14
OpenJDK Runtime Environment (build 17+35-2724)
OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
But lowering Java to 11 solved the problem and launched the tool (did NOT attempt via wrapper with Java 11 so this may be a different issue).
Again, thank you for your work guys. Hope this helps.