Skip to content

ogygia error

macro_bake_not_serializable

‹file›:‹line› — import.meta.og.bake(): the result is not serializable (‹reason›). bake produces DATA — return plain values (JSON + Date/Map/Set/RegExp/BigInt), never a function, Promise, or class instance.

The baked function ran, but its result cannot be written into the module as a constant. reason names the value that failed.

Return plain data: JSON values, Date, Map, Set, RegExp, BigInt. A function, a promise or a class instance cannot be baked.

Every error and warning