forty-cdk
llms.txt

Error codes

FORCDK-CORE-007

Thrown by a shared forty-cdk/core check, which reports under the primitive that ran it.

[forty-cdk/{primitive}] FORCDK-CORE-007: {piece} resolved a {token} provider that is not the {root} root.

Cause

The token is publicly typed as the consumer read surface, but the pieces read it at the root's internal registration protocol, which only the root implements.

Fix

Alias the token to the root itself: { provide: {token}, useExisting: MyRoot }, where MyRoot is {root} or a subclass of it.

Where it comes from

projects/forty-cdk/core/src/root-context/root-context.ts:71

A value in braces is filled in when the message is reported, so the sentence in your console names the piece, input or value that failed.