ARKI_DOT_E017

thrownThis error is thrown. It stops your code unless you catch it. Fix the cause below; catching it only hides the problem.

What happened

Action metadata is not JSON-round-trip safe.

Fix

Keep action `meta` plain JSON: no functions, Dates, Maps or cycles.

Check the fix

dot explain --json | jq -e .ok

Run it after the fix. It passes when the fix worked.

Where it comes from

Package
@arki/dot
Version
0.7.0 · next release candidate
Source
src/lifecycle.ts:149