NexthostingLogs

Logs / Error guide / Minecraft

Minecraft: “Incompatible mods found!” and missing mod dependencies

What the message means

Before starting, the mod loader checked whether all mods fit together and found a conflict: one mod needs another that is missing, or requires a different version. The server then doesn't start at all.

What it looks like in the log

[10:02:14] [main/INFO]: Loading Minecraft 1.21.1 with Fabric Loader 0.16.9
[10:02:15] [main/ERROR]: Incompatible mods found!
net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other!
A potential solution has been determined, this may resolve your problem:
- Install fabric-api, any version.
More details:
- Mod 'Sodium Extra' (sodium-extra) 0.6.0 requires any version of fabric-api, which is missing!

Excerpt from an example log, marked the way the analysis marks it.

Common causes

  • A library that many mods need is missing – on Fabric almost always fabric-api, on Forge often Architectury, Cloth Config or GeckoLib.
  • Mods for a different Minecraft version or a different loader (a Fabric mod on a Forge server).
  • A mod is too old or too new for another one it depends on.
  • Client-only mods (shaders, minimaps, menus) were copied to the server too.

How to fix it

  1. Look in the log for the section “A potential solution” or “Missing mods”: it says which mod is missing and which version is needed.
  2. Download exactly those mods in the version for your Minecraft version and your loader and put them in the mods folder.
  3. Remove client-only mods from the server – they belong only on the players' PCs.
  4. If you use a modpack, install the pack's server version instead of putting the mods together one by one.