badeball / cypress-cucumber-preprocessor

Run cucumber/gherkin-syntaxed specs with Cypress
MIT License
1.32k stars 147 forks source link

TS2688: Cannot find type definition file for 'cypress' - while executing any cy tests #1169

Closed Nimzi-Git closed 6 months ago

Nimzi-Git commented 6 months ago

Current behavior

When running any cypress tests, the test is failing with the below error:

[1] [tsl] ERROR [1] TS2688: Cannot find type definition file for 'cypress'. [1] The file is in the program because: [1] Entry point of type library 'cypress' specified in compilerOptions

The test does not run after this error.

Desired behavior

It should run the test cases

Test code to reproduce

Believe this issue is a known one and it has been happening since upgraded the cypress versions - any help on this would be really appreciated

It has been happening since the version upgrade

Versions

image

Checklist

badeball commented 6 months ago

You need to provide a minimal, reproducible example that illustrates the issue.

badeball commented 6 months ago

Believe this issue is a known one [..]

Doesn't matter, I can't help you unless you show me what you're doing and so far you've managed to provide literally nothing. Closing due to lack of a reproducible example. Feel free to open up another issue if anything changes in this regard.