Open lexaurin opened 4 years ago
Workaround, in .yarnrc.yml
:
packageExtensions:
"gherkin-testcafe@*":
dependencies:
"cucumber-expressions": "*"
Thanks for bringing this up, @lexaurin !
I have not worked with Yarn 2 yet. I tried adding cucumber-expressions to the peer dependencies, and it fixed the issue you reported. I got a new but similar issue in testcafe-legacy-api
. Did you face that issue, too? Or did I do something wrong there?
Hi @Lukas-Kullmann,
yes, there is similar problem with testcafe-legacy-api
but once you apply the same workaround here too it will start working all together.
packageExtensions:
"gherkin-testcafe@*":
dependencies:
"cucumber-expressions": "*"
"testcafe-legacy-api@*":
dependencies:
"read-file-relative": "*"
"testcafe-hammerhead": "*"
Running gherkin-testcafe with yarn 2 fails on this error:
seems like dependencies should be fixed to make package able to run with new Yarn.
Steps to reproduce
Enable newer yarn
& run
gherkin-testcafe