Skip to content

Typst Snap package can't access local packages #2

@Unaimend

Description

@Unaimend

Description

I tried installing the package [2] on my system via cloning the repo into the following path
~/.local/share/typst/packages/local/petri/0.1.0 by following the approach described in [3]
The typst compiler nonetheless gives the following error

error: package not found (searched for @local/petri:0.1.0)
  ┌─ ProjectPlan.typ:5:8
  │
5 │ #import "@local/petri:0.1.0": *
  │         ^^^^^^^^^^^^^^^^^^^^

System information can be found in the following screenshot
image

Some more things were tried below the following question on the discord but nothing worked
https://discord.com/channels/1054443721975922748/1088371919725793360/1274364908187942924

Thank you very much for typst and your help

[2] https://github.com/augustebaum/petri
[3] https://github.com/typst/packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions