Skip to content

Failed to add project: Rel: can't make mods/modname.toml #6

@GameBurrow

Description

@GameBurrow

Using packwiz internal mr add command through pw causes the following error:

❯ pw mr add create-railways-navigator
Finding dependencies...
All dependencies are already added!
Failed to add project: Rel: can't make mods/create-railways-navigator.pw.toml relative to /home/[redacted]/coding-projects/thesociety/transportcraft-lite/src

❯ pw mr add https://modrinth.com/mod/yungs-better-caves
Finding dependencies...
All dependencies are already added!
Failed to add project: Rel: can't make mods/yungs-better-caves.pw.toml relative to /home/[redacted]/coding-projects/thesociety/transportcraft-lite/src

❯ pw mr add https://modrinth.com/mod/yungs-cave-biomes
Failed to add project: Rel: can't make mods/yungs-cave-biomes.pw.toml relative to /home/[redacted]/coding-projects/thesociety/transportcraft-lite/src

Happens with any mod I add, the mod .toml file is actually crated in mods/ folder

❯ pw  
pw v0.8.0 - Enhanced packwiz wrapper

❯ pw version
PackWrap version dev

Using packwiz mr add works fine.

Originally reported the issue to packwiz itself as I had completely forgotten I was using packwiz commands through pw.
packwiz/packwiz#379 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions