typst-book icon indicating copy to clipboard operation
typst-book copied to clipboard

invalid type: map, expected a sequence with []

Open Myriad-Dreamin opened this issue 10 months ago • 0 comments

Some early users reported a hard-to-guess error:

typst-book error: convert_to<BookMeta>: invalid type: map, expected a sequence with []

This is because we (and typst compiler) don't check type for book meta fields. This error should be more readable after we do some manual type checking in the @preview/book package.

Myriad-Dreamin avatar Aug 27 '23 07:08 Myriad-Dreamin