Gradle task failed while set up

Published by Flan_Man on
Status
Fixed
Issue description

Whenever I try to set up MCreator it gives me a gradle failed error, heres the error log

  
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.2, 64-bit, 8101 MB, Windows 10 - cmd, JVM 1.8.0_192, JAVA_HOME: C:\Pylo\MCreator182\.\jdk
(c) 2018 Microsoft Corporation. Todos os direitos reservados.
C:\Pylo\MCreator182\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" wrapper --gradle-version 4.4
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Pylo\MCreator182\forge\build.gradle' line: 24
* What went wrong:
A problem occurred evaluating root project 'forge'.
> No such version exists!
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 11.278 secs
C:\Pylo\MCreator182\forge>
Task completed with return code 0 in 12210 milliseconds
  
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.2, 64-bit, 8101 MB, Windows 10 - cmd, JVM 1.8.0_192, JAVA_HOME: C:/Pylo/MCreator182/jdk/jre
(c) 2018 Microsoft Corporation. Todos os direitos reservados.
C:\Pylo\MCreator182\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx5000m" wrapper --gradle-version 4.4
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Pylo\MCreator182\forge\build.gradle' line: 24
* What went wrong:
A problem occurred evaluating root project 'forge'.
> No such version exists!
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 11.744 secs
C:\Pylo\MCreator182\forge>
Task completed with return code 0 in 12543 milliseconds
  
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.2, 64-bit, 8101 MB, Windows 10 - cmd, JVM 1.8.0_192, JAVA_HOME: C:/Pylo/MCreator182/jdk/jre
(c) 2018 Microsoft Corporation. Todos os direitos reservados.
C:\Pylo\MCreator182\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx5000m" wrapper --gradle-version 4.4
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Pylo\MCreator182\forge\build.gradle' line: 24
* What went wrong:
A problem occurred evaluating root project 'forge'.
> No such version exists!
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 9.954 secs
C:\Pylo\MCreator182\forge>
Task completed with return code 0 in 10751 milliseconds
  
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.2, 64-bit, 8101 MB, Windows 10 - cmd, JVM 1.8.0_192, JAVA_HOME: C:/Pylo/MCreator182/jdk/jre
(c) 2018 Microsoft Corporation. Todos os direitos reservados.
C:\Pylo\MCreator182\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx5000m" wrapper --gradle-version 4.4
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Pylo\MCreator182\forge\build.gradle' line: 24
* What went wrong:
A problem occurred evaluating root project 'forge'.
> No such version exists!
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 11.922 secs
C:\Pylo\MCreator182\forge>
Task completed with return code 0 in 41968 milliseconds

 

 

Hope this is enough, thanks in advance

 

Issue comments

Based on the number of people getting this error recently, I think that could be a Minecraft Forge issue with wrong data being sent. To fix this, go to your user folder, go into .mcreator folder and in a gradle subdirectory there. Delete directory called caches and try to run MCreator again.

Sadly, removing the caches folder doesnt seem to work. Keeps giving me the same error

Did you read the forum topic I linked? The actual cause is in Minecraft Forge servers and we need to wait for them to fix it.