Cannot export mods

Started by MissChibs on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 16:44, 23. May 2018
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Cannot export mods

Whenever I try to export a mod, it gives the following error: Your mod contains errors and cannot be exported. I've looked all over google for a solution and can't find one. 

Here's what my console log looks like:

Executing gradle command: clean runClient
Microsoft Windows [Version 10.0.16299.371]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator178>cd forge
C:\Pylo\MCreator178\forge>SET "JAVA_HOME=C:\Pylo\MCreator178\jdk\"
C:\Pylo\MCreator178\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator178\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator178\forge>SET "GRADLE_USER_HOME=C:\Users\Brandy\.mcreator\gradle"
C:\Pylo\MCreator178\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx4096m" clean runClient --offline 
Unzipping C:\Users\Brandy\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk\gradle-2.14-bin.zip to C:\Users\Brandy\.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\MCreator178\forge>

 

Any help would be greatly appreciated, thank you! 

Last seen on 20:19, 16. Apr 2020
Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try to compile the mod first…
Tue, 05/15/2018 - 16:59

Try to compile the mod first before you export. I find if it compiles without errors it will export. This used to happen to me but not when the mod used to be smaller.