ARKI_DOT_E020

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

What happened

A feature needs a capability whose (static) provider is mounted after it.

Fix

Mount the provider before the unit that needs it; the message names both positions.

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:167