Closed nichoth closed 1 month ago
same issue here.
I've pinned it down to the typescript version 5.5.4 . "typescript": "5.5.3" works fine.
here is my tsconfig if anyone want do look in to it:
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"baseUrl": ".",
"allowJs": true,
"composite": false,
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"inlineSources": false,
"isolatedModules": true,
"module": "ESNext",
"moduleResolution": "node",
"noEmit": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveWatchOutput": true,
"removeComments": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": false,
"strict": false,
"target": "es2021",
"types": ["cypress"]
},
"display": "Default",
"exclude": ["node_modules", "node"]
}
Same here, the error appears on Renovate bump of TS from 5.5.3 to 5.5.4
Any movement on this? seems strange to have to lock in at 5.5.3
Hi @nichoth 👋, I was able to reproduce the issue using typescript 5.5.4. However, the issue appears to be resolved with typescript 5.6.2. Could you (or anyone else) verify that they are also seeing the issue resolved with typescript 5.6.2. Thanks!
here it's working on the latest version (5.6.2) with the same tsconfig that had errors with 5.5.4. I think you can close this.
Thanks
Current behavior
Start cypress in a new project, follow the GUI prompts, choose e2e testing, run the first example test,
todo
, and it prints an error.Desired behavior
Should run a test
Test code to reproduce
https://github.com/nichoth/example-cypress
Cypress Version
13.13.2
Node version
v20.11.1
Operating System
macOS 14.5
Debug Logs
Other
No response