After execution on a latest 10.3 Drupal installation:
a test cspellmodule amos_sync
I get the following:
cspellmodule: line 17: /drupal/web/core/node_modules/.bin/cspell: No such file or directorycspellmodule: line 19: /drupal/web/core/node_modules/.bin/cspell: No such file or directory
If I miss something, I can put it into the documentation.
@danielspeicher there is ahoy test stylelintprepare which prepares all of core's yarn packages that are required for development. That needs to be called once, so that all the packages get prepared in the local installation. They remain in place until core gets updated, then this needs to be called once again.
The name stylelintprepare is not ideal, I see. It has been chosen when this was implemented as a preparation for the ahoy test stylelintmodule feature some time before this one. Back then, I didn't realize that the same preparation was required not only for style lint but also for cspell, and maybe others in the future as well.
Shall we rename the ahoy test stylelintprepare into ahoy test preparecorefordev or something like that?