TypeError ... Unknown file extension ".ts" for cypress.config.ts #22950
-
Hello! I want to upgrade a Cypress setup from 5.6.0 to 10.3.1.
Unfortunately I am not a JS developer normally, so I'm having a hard time troubleshooting this. I will try to attach the relevant config files without being too spammy. Has anyone encountered this and been able to fix it? cypress.config.ts
commands.ts
plugins/index.js
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
hello! 👋 I saw this issue with the upgrade and I used Our project is mostly Typescript but wasn't relevant to use |
Beta Was this translation helpful? Give feedback.
-
Please reopen this discussion as converting to .js is not an option. |
Beta Was this translation helpful? Give feedback.
hello! 👋
I saw this issue with the upgrade and I used
cypress.config.js
instead and all the other Cypress related files also with a.js
file extension instead.Our project is mostly Typescript but wasn't relevant to use
.ts
in this case.