Error codesState

A shared() method's "<name>" cannot be carried into this file (<methods>)

MARKLESS_SHARED_METHOD_CROSS_MODULEerrorMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_SHARED_METHOD_CROSS_MODULE: The handler module for <symbolId> copies <methods> from <files>, whose body uses "<name>". <reason>
A copied method body brings the imports and module-scope constants of its file with it, but not a name this file binds differently, a name declared inside the shared() callback, or a value that would split into one per handler.
https://markless.dev/errors/MARKLESS_SHARED_METHOD_CROSS_MODULE

Words in angle brackets change from case to case.

Why

A copied method body brings the imports and module-scope constants of its file with it, but not a name this file binds differently, a name declared inside the shared() callback, or a value that would split into one per handler.

Fix

Read the message above: it names the value or file involved. If it does not help, open an issue with the steps that cause it.

Where Markless raises it

All error codes

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