dictionnary doesn't containt key taskgroup

I try to compile the typst_math exemple but I have that error:

typst c gantty.typst
error: dictionary does not contain key "taskgroups"
    ┌─ @preview/gantty:0.5.0/src/normalize.typ:142:9

142 │         .taskgroups
    │          ^^^^^^^^^^

help: error occurred in this call of function `_gantt-start`
    ┌─ @preview/gantty:0.5.0/src/normalize.typ:238:16

238 │   gantt.start = _gantt-start(gantt)
    │                 ^^^^^^^^^^^^^^^^^^^

help: error occurred in this call of function `normalize-gantt`
   ┌─ @preview/gantty:0.5.0/src/gantt.typ:17:16

17 │     let gantt = normalize-gantt(gantt)

I using nix, but I also try on the typst web site and I have the same error.

Edited by John Toohey