Sodium

Sodium

44M Downloads

Cannot build from source.

K0-RR opened this issue ยท 4 comments

commented

Downloaded the source (the latest commit is 2fb1d28) and tried to build it.

./gradlew build
Exception in thread "main" java.lang.RuntimeException: Could not load wrapper properties from '/home/k0rr/Downloads/SODIUM/sodium-fabric-1.16.x-next/gradle/wrapper/gradle-wrapper.properties'.
at org.gradle.wrapper.WrapperExecutor.(WrapperExecutor.java:61)
at org.gradle.wrapper.WrapperExecutor.forWrapperPropertiesFile(WrapperExecutor.java:45)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:62)
Caused by: java.io.FileNotFoundException: /home/k0rr/Downloads/SODIUM/sodium-fabric-1.16.x-next/gradle/wrapper/gradle-wrapper.properties (Is a directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.gradle.wrapper.WrapperExecutor.loadProperties(WrapperExecutor.java:84)
at org.gradle.wrapper.WrapperExecutor.(WrapperExecutor.java:53)
... 2 more

commented

Don't know why but
image

Tried deleting and unzipping it again and nothing

commented

Seems like Java is complaining about gradle-wrapper.properties being a directory.

Try cloning/downloading it again or, if you just want a build from the latest commit, you can instead use the build provided by Github Actions for that commit (which isn't failing, suggesting it to be an issue with your setup).

For support it would be better to join the discord instead of the issue tracker though.

commented

This seems like a problem with your environment rather than the mod itself. You can get a build of the latest commit from Github Actions - which did build successfully.

commented

Seems like it's something wrong with PeaZip.