bynk.deploy.not_a_context
Error A [deploy.workers.<key>] group lists a unit that is not a context; only contexts are deployed as Workers.
A [deploy.workers.<key>] group lists the contexts to deploy together as one Worker, and only a context is deployed. A commons is compiled into each context that uses it, and an adapter into each context that consumes it, so neither has a Worker of its own to share. Remove the entry: the contexts that use the commons carry it with them.
Example
[deploy.workers.core]contexts = ["shop.orders", "money"] // ✗ `money` is a commons
contexts = ["shop.orders"] // ✓In the Book
See also
- Every code in its category, Deployment, on the diagnostic index.
bynk explain bynk.deploy.not_a_contextshows the same from the installed toolchain, without a network.