Skip to content

Modrinth version files don't declare fabric-language-kotlin as a dependency #382

Description

@DeeKahy

Expected behavior

Installing Ledger from Modrinth through any tool that resolves dependencies (Modrinth App, Prism Launcher, and Server Provider UI's) should also pull in Fabric Language Kotlin, since Ledger requires it at runtime.

Observed/actual behavior

The version files on Modrinth declare no dependencies at all, so dependency resolvers install Ledger alone. The server then fails to start with a Fabric Loader error about the missing fabric-language-kotlin.

You can confirm from the API that the dependency array is empty:
curl -s https://api.modrinth.com/v2/project/ledger/version | jq '.[0].dependencies'
returns [].

Steps/models to reproduce

  1. Add Ledger to a pack or instance from Modrinth via the Modrinth App/Prism Launcher.
  2. Note that no dependency prompt appears and fabric-language-kotlin is not installed.
  3. Start a server with only Ledger (plus Fabric API) in the mods folder.
  4. Fabric Loader aborts with an unmet dependency error for fabric-language-kotlin.

Fix would be declaring fabric-language-kotlin as a required dependency on uploaded versions. Both the Modrinth upload UI and publishing actions like mc-publish should support this.

What operating system are you running

Other

Minecraft version

26.2

Ledger version

1.3.23

Logs

n/a - metadata issue on the Modrinth listing, no crash log involved; the API output above shows the problem

Agreements

  • I am running the latest version of the mod.
  • My version of Minecraft is supported.
  • I have searched for and ensured there isn't already an open issue regarding this.

Other

Found this while installing Ledger via my server managers mod installer. Not a code bug, purely the Modrinth listing metadata, feel free to relabel if bug isn't the right category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions