Generating language files: yarn pot throws Syntaxerror: exit code 1


i want to generate language files. I worked your tutorial (Sage 9.x: Localization | Roots Documentation) through and have got everytime at executing yarn pot follow message on the console:

error Command failed with exit code 1.

I installed already coreutils, findutils and gettext. But this didn’t change anything.

Do anyone have an idea how i can solve the issue?