Behat/Gherkin missing i18n issue

simo.savonen
simo.savonen Spryker Solution Partner Posts: 20 🧑🏻‍🚀 - Cadet

Did a monthly composer update, and it broke our CI pipeline.
Seems to be related to https://github.com/Behat/Gherkin/issues/317

The error we got was:
$ bash docker/sdk testing codecept fixtures -d

require(/data/vendor/behat/gherkin/src/../../../i18n.php): Failed to open stream: No such file or directory in /data/vendor/codeception/codeception/src/Codeception/Test/Loader/Gherkin.php on line 78

Solved it by downgrading the older version
composer require --dev behat/gherkin:"~4.12.0"

Comments

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,122 ⚖️ - Guardians (admin)

    Heyhey @simo.savonen ,

    sorry for the late reply - we had some more public holidays in Germany ;)

    Solved it by downgrading the older version

    yes, this is right now also our approach I would have suggested to you.

    Alternative update codeception as stated in the issue you linked: https://github.com/Behat/Gherkin/issues/317#issuecomment-2859209021 (but this is not tested by spryker yet)

    Thank you also for reporting it!!!

    All the best,

    Florian