Missing import
The imported file exists in neither the input folder nor the template directory. typstgen compile missing-import.typ --config typstgen.toml prints the Typst error to stderr and exits with code 1.
Missing import
examples/missing-import.typ// Imports a file that exists in no search root, so compilation fails.
#import "footer.typ": footer
#footererror: typst compilation failed: missing-import.typ:2:9: error: file not found (searched at /footer.typ)