bynk.capability.unknown_base
Error A derived capability's base is not a capability the context consumes.
capability Sessions = Kv makes a separate instance of a platform capability, so the base has to be one the context has selected: consumes bynk.cloudflare { Kv }. A name that is not selected is a misspelling, or a consumes that was left out. Correct the name, or select the capability.
Example
consumes bynk.cloudflare { Kv }
capability Sessions = Kvv // ✗ no capability `Kvv` is selected
capability Sessions = Kv // ✓ the one that isIn the Book
See also
- The grammar rule it governs:
capability_decl. - Every code in its category, Capabilities, on the diagnostic index.
bynk explain bynk.capability.unknown_baseshows the same from the installed toolchain, without a network.