Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cypress-grep throws error when using cypress with typescript. #29097

Closed
harishraut-Aut opened this issue Mar 9, 2024 · 4 comments
Closed

cypress-grep throws error when using cypress with typescript. #29097

harishraut-Aut opened this issue Mar 9, 2024 · 4 comments
Labels
npm: @cypress/grep @cypress/grep package issues stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period

Comments

@harishraut-Aut
Copy link

Current behavior

cypress test failes with below error
TypeError: The following error originated from your test code, not from Cypress.

(0 , support_1.default) is not a function

Desired behavior

No response

Test code to reproduce

https://github.com/harishraut-Aut/Cypress-grep-issue/tree/master

Cypress Version

13.6.6

Node version

18.0

Operating System

windows

Debug Logs

No response

Other

No response

@jennifer-shehane jennifer-shehane added the npm: @cypress/grep @cypress/grep package issues label Mar 11, 2024
@sumandeepbkaur
Copy link

sumandeepbkaur commented Mar 23, 2024

I am also facing the same issue with Cypress version 10.9.0 and node version 20. Seeing (0 , support_1.registerCypressGrep) is not a function

@jennifer-shehane jennifer-shehane added the stage: needs investigating Someone from Cypress needs to look at this label Mar 26, 2024
@WilliamGusmanov
Copy link

Adding "esModuleInterop": true to the cypress/tsconfig.json fixed the issue for me.

@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Oct 1, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has been closed due to inactivity.

@cypress-app-bot cypress-app-bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
npm: @cypress/grep @cypress/grep package issues stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period
Projects
None yet
Development

No branches or pull requests

5 participants