cucumber-js-tsflow icon indicating copy to clipboard operation
cucumber-js-tsflow copied to clipboard

Error: The "from" argument must be of type string. Received undefined

Open AnneManzhura opened this issue 3 years ago • 2 comments

I got this error while trying to run my project with version 4.0.0-rc.1 . Program fails on classes tagged as @binding. Downgrading the version of cucumber-tsflow to 3.4.1 seemed to solve all the issues. You can find my project here https://github.com/AnneManzhura/WebDriverPractice Please, fix it before release. Screenshot 2020-11-17 at 17 36 39

AnneManzhura avatar Nov 17 '20 15:11 AnneManzhura

I noticed in the package.json in your screenshot, that you're referencing cucumber. Could you change this to @cucumber/cucumber and try again. They are scoping the package from version 7, and this version of cucumber-tsflow looks for @cucumber/cucumber as a peer dependency instead of cucumber.

timjroberts avatar Nov 17 '20 15:11 timjroberts

Changed it to @cucumber/cucumber Didn't help ;( Screenshot 2020-11-17 at 18 00 34

AnneManzhura avatar Nov 17 '20 16:11 AnneManzhura

I could not reproduce this bug on the latest version of cucumber-tsflow with either the latest Cucumber v7 and v8.

Since this was reported two years ago and a lot has changed both on Cucumber and here I'll close this as can't repro.

If anyone is also having this problem please say so :)

Fryuni avatar Nov 19 '22 19:11 Fryuni