SMAPI: mod couldn't be loaded

This mod was skipped because another mod it depends on failed to load. Do not delete the mod that shows this message — fix the mod named as the dependency first, then restart. The dependent mod usually loads by itself once the root cause is gone.

What the log line looks like

Skipped mods
- [CP] Stardew Valley Expanded because it needs the 'Stardew Valley Expanded' mod, which couldn't be loaded.

What it means

The mod is built on another mod — usually a framework, or the main mod of a content pack. SMAPI tried to load the dependency, the dependency failed, so the dependent mod was skipped too. The problem is upstream.

Why it happens

How to fix it, in order

  1. Find the mod named in the message (the one it "needs").
  2. Scroll up in the log and find that mod's own skip reason — it is usually a few lines above.
  3. Fix the root mod using the matching error page: missing requirement, no longer compatible, duplicate ID, invalid manifest.
  4. Restart the game. Check that both the root mod and the dependent mod load.
  5. Only remove the dependent mod if the root mod is gone for good.

How to check it worked

Both mods disappear from Skipped mods. If the root mod loads but the dependent still fails, its requirement version may be too low — check the root mod's version.

Questions

Why does one broken mod skip five others?

Dependencies chain. A framework fails, every content pack built on it fails, and every add-on built on those fails. Fixing the first line can clear the whole block.

The mod it needs is installed. Why did it fail?

Installed does not mean loaded. That mod probably failed for its own reason, or its version is too old. Read its line in the log.

Do I need to reorder my mods?

No. SMAPI resolves load order from the manifest requirements. Reordering folders does not fix a missing or broken dependency.

Ready to check your pack?

Most packs take a few seconds. Nothing is uploaded.

Open the checker