No mod file was generated

Published by NeeZ on Fri, 08/03/2018 - 10:03
Status
Fixed
Product/platform
MCreator/Windows
Priority
Normal
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

   TheLog:
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\gradle-2.14-bin.zip to C:\Users\omarz\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
   at java.util.zip.ZipFile.open(Native Method)
   at java.util.zip.ZipFile.(ZipFile.java:225)
   at java.util.zip.ZipFile.(ZipFile.java:155)
   at java.util.zip.ZipFile.(ZipFile.java:169)
   at org.gradle.wrapper.Install.unzip(Install.java:159)
   at org.gradle.wrapper.Install.access$500(Install.java:26)
   at org.gradle.wrapper.Install$1.call(Install.java:69)
   at org.gradle.wrapper.Install$1.call(Install.java:46)
   at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
   at org.gradle.wrapper.Install.createDist(Install.java:46)
   at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
   at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
C:\Pylo\MCreator179\forge>
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.