No mod file was generated

Published by NeeZ on Fri, 08/03/2018 - 10:03
Issue description

Hi I Opened MCreator And I Went To export My Mods And MCreator say 

[Your  Mod Contains Errors And Could Not Be Exported]

[No Mod File Was Generated]


Issue comments

Executing gradle command: clean build
Microsoft Windows [Version 10.0.16299.371]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator179>cd forge
C:\Pylo\MCreator179\forge>SET "JAVA_HOME=C:\Pylo\MCreator179\jdk\"
C:\Pylo\MCreator179\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator179\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator179\forge>SET "GRADLE_USER_HOME=C:\Users\omarz\.mcreator\gradle"
C:\Pylo\MCreator179\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms648m -Xmx2163m" clean build 
Unzipping C:\Users\omarz\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk\ to C:\Users\omarz\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk
Exception in thread "main" error in opening zip file
   at Method)
   at org.gradle.wrapper.Install.unzip(
   at org.gradle.wrapper.Install.access$500(
   at org.gradle.wrapper.Install$
   at org.gradle.wrapper.Install$
   at org.gradle.wrapper.ExclusiveFileAccessManager.access(
   at org.gradle.wrapper.Install.createDist(
   at org.gradle.wrapper.WrapperExecutor.execute(
   at org.gradle.wrapper.GradleWrapperMain.main(
Task completed with return code 0 in 11969 milliseconds

There are a few options to fix this bug. Try these two:

  • Restart your computer and try again
  • If this does not help, do to folder C:\Users\omarz\.mcreator\ and delete the directory called gradle and run the build again, this time it will take a bit more to complete but should work afterward.

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.