I cant compile my mod #98

Open
opened 2021-04-20 21:28:28 +00:00 by BrennoMaturino1 · 1 comment
BrennoMaturino1 commented 2021-04-20 21:28:28 +00:00 (Migrated from github.com)

When i try to compile i get this error:

`Downloads\fabric-example-mod-master\fabric-example-mod-master> .\gradlew vscode

Configure project :
Fabric Loom: 0.6.57 Build(release #57)

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'fabric-example-mod-master'.

Could not resolve all files for configuration ':modCompileClasspath'.
Could not find net.fabricmc:fabric-loader:0.32.5+1.16.
Searched in the following locations:
- file:/C:/Users/brenn/Downloads/fabric-example-mod-master/fabric-example-mod-master/build/loom-cache/fabric-loader-0.32.5+1.16.jar
- file:/C:/Users/brenn/Downloads/fabric-example-mod-master/fabric-example-mod-master/build/loom-cache/fabric-loader.jar
- file:/C:/Users/brenn/Downloads/fabric-example-mod-master/fabric-example-mod-master/.gradle/loom-cache/remapped_mods/net/fabricmc/fabric-loader/0.32.5+1.16/fabric-loader-0.32.5+1.16.pom
- https://maven.fabricmc.net/net/fabricmc/fabric-loader/0.32.5+1.16/fabric-loader-0.32.5+1.16.pom
- https://libraries.minecraft.net/net/fabricmc/fabric-loader/0.32.5+1.16/fabric-loader-0.32.5+1.16.pom
- https://repo.maven.apache.org/maven2/net/fabricmc/fabric-loader/0.32.5+1.16/fabric-loader-0.32.5+1.16.pom
- file:/C:/Users/brenn/.gradle/caches/fabric-loom/1.16.5-mapped-net.fabricmc.yarn-1.16.5+build.6-v2/fabric-loader-0.32.5+1.16.jar
- file:/C:/Users/brenn/.gradle/caches/fabric-loom/1.16.5-mapped-net.fabricmc.yarn-1.16.5+build.6-v2/fabric-loader.jar
Required by:
project :
Could not find net.fabricmc.fabric-api:fabric-api:0.11.3.
Searched in the following locations:
- file:/C:/Users/brenn/Downloads/fabric-example-mod-master/fabric-example-mod-master/build/loom-cache/fabric-api-0.11.3.jar
- file:/C:/Users/brenn/Downloads/fabric-example-mod-master/fabric-example-mod-master/build/loom-cache/fabric-api.jar
- file:/C:/Users/brenn/Downloads/fabric-example-mod-master/fabric-example-mod-master/.gradle/loom-cache/remapped_mods/net/fabricmc/fabric-api/fabric-api/0.11.3/fabric-api-0.11.3.pom
- https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api/0.11.3/fabric-api-0.11.3.pom
- https://libraries.minecraft.net/net/fabricmc/fabric-api/fabric-api/0.11.3/fabric-api-0.11.3.pom
- https://repo.maven.apache.org/maven2/net/fabricmc/fabric-api/fabric-api/0.11.3/fabric-api-0.11.3.pom
- file:/C:/Users/brenn/.gradle/caches/fabric-loom/1.16.5-mapped-net.fabricmc.yarn-1.16.5+build.6-v2/fabric-api-0.11.3.jar
- file:/C:/Users/brenn/.gradle/caches/fabric-loom/1.16.5-mapped-net.fabricmc.yarn-1.16.5+build.6-v2/fabric-api.jar
Required by:
project :

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan
    to get full insights.

  • Get more help at https://help.gradle.org`

When i try to compile i get this error: `Downloads\fabric-example-mod-master\fabric-example-mod-master> .\gradlew vscode > Configure project : Fabric Loom: 0.6.57 Build(release #57) FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'fabric-example-mod-master'. > Could not resolve all files for configuration ':modCompileClasspath'. > Could not find net.fabricmc:fabric-loader:0.32.5+1.16. Searched in the following locations: - file:/C:/Users/brenn/Downloads/fabric-example-mod-master/fabric-example-mod-master/build/loom-cache/fabric-loader-0.32.5+1.16.jar - file:/C:/Users/brenn/Downloads/fabric-example-mod-master/fabric-example-mod-master/build/loom-cache/fabric-loader.jar - file:/C:/Users/brenn/Downloads/fabric-example-mod-master/fabric-example-mod-master/.gradle/loom-cache/remapped_mods/net/fabricmc/fabric-loader/0.32.5+1.16/fabric-loader-0.32.5+1.16.pom - https://maven.fabricmc.net/net/fabricmc/fabric-loader/0.32.5+1.16/fabric-loader-0.32.5+1.16.pom - https://libraries.minecraft.net/net/fabricmc/fabric-loader/0.32.5+1.16/fabric-loader-0.32.5+1.16.pom - https://repo.maven.apache.org/maven2/net/fabricmc/fabric-loader/0.32.5+1.16/fabric-loader-0.32.5+1.16.pom - file:/C:/Users/brenn/.gradle/caches/fabric-loom/1.16.5-mapped-net.fabricmc.yarn-1.16.5+build.6-v2/fabric-loader-0.32.5+1.16.jar - file:/C:/Users/brenn/.gradle/caches/fabric-loom/1.16.5-mapped-net.fabricmc.yarn-1.16.5+build.6-v2/fabric-loader.jar Required by: project : > Could not find net.fabricmc.fabric-api:fabric-api:0.11.3. Searched in the following locations: - file:/C:/Users/brenn/Downloads/fabric-example-mod-master/fabric-example-mod-master/build/loom-cache/fabric-api-0.11.3.jar - file:/C:/Users/brenn/Downloads/fabric-example-mod-master/fabric-example-mod-master/build/loom-cache/fabric-api.jar - file:/C:/Users/brenn/Downloads/fabric-example-mod-master/fabric-example-mod-master/.gradle/loom-cache/remapped_mods/net/fabricmc/fabric-api/fabric-api/0.11.3/fabric-api-0.11.3.pom - https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api/0.11.3/fabric-api-0.11.3.pom - https://libraries.minecraft.net/net/fabricmc/fabric-api/fabric-api/0.11.3/fabric-api-0.11.3.pom - https://repo.maven.apache.org/maven2/net/fabricmc/fabric-api/fabric-api/0.11.3/fabric-api-0.11.3.pom - file:/C:/Users/brenn/.gradle/caches/fabric-loom/1.16.5-mapped-net.fabricmc.yarn-1.16.5+build.6-v2/fabric-api-0.11.3.jar - file:/C:/Users/brenn/.gradle/caches/fabric-loom/1.16.5-mapped-net.fabricmc.yarn-1.16.5+build.6-v2/fabric-api.jar Required by: project : * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org`
Technici4n commented 2021-04-20 21:38:18 +00:00 (Migrated from github.com)

Hello, it seems you swapped versions of fabric loader and fabric API. You are trying to load API version 0.11.3 and loader version 0.32.5+1.16, but it should be the opposite.

Hello, it seems you swapped versions of fabric loader and fabric API. You are trying to load API version 0.11.3 and loader version 0.32.5+1.16, but it should be the opposite.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Steven/fabric-example-mod#98
No description provided.