timjroberts / cucumber-js-tsflow

Provides 'specflow' like bindings for Cucumber.js in TypeScript 1.7+.
MIT License
133 stars 34 forks source link

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

Closed AnneManzhura closed 1 year ago

AnneManzhura commented 3 years ago

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
timjroberts commented 3 years ago

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.

AnneManzhura commented 3 years ago

Changed it to @cucumber/cucumber Didn't help ;(

Screenshot 2020-11-17 at 18 00 34
Fryuni commented 1 year ago

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 :)