A shared() method's "<name>" cannot be carried into this file (<methods>)
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_MODULEWords 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.
Related
Where Markless raises it
Button sounds are from Josh Comeau's Button Sounds library.