You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
As commented on Discord, this seems to be a problem with Typst's snap package, which currently seems to excessively restrict the directories Typst can access.
PgBiel
changed the title
Can't import local package
Typst Snap package can't access local packages
Aug 17, 2024
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
System information can be found in the following screenshot
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
The text was updated successfully, but these errors were encountered: