Error codesState

A shared() value read through a namespace import

MARKLESS_SHARED_NAMESPACE_REFERENCEerrorMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_SHARED_NAMESPACE_REFERENCE: `<path>` reads the shared() value "<definitionName>" through a namespace import, which this build does not lower yet.
A shared() value is lowered from the binding a component reads it through. Through a namespace object there is no such binding, so the read would reach no graph node.
Import it by name from the module that exports it, then read it directly: `import { <definitionName> } from '<that module>'` and `<definitionName>.<field>`.
https://markless.dev/errors/MARKLESS_SHARED_NAMESPACE_REFERENCE

Words in angle brackets change from case to case.

Why

A shared() value is lowered from the binding a component reads it through. Through a namespace object there is no such binding, so the read would reach no graph node.

Fix

Import it by name from the module that exports it, then read it directly: `import { <definitionName> } from '<that module>'` and `<definitionName>.<field>`.

Where Markless raises it

All error codes

Button sounds are from Josh Comeau's Button Sounds library.