Cypress configuration error empty stack trace #29186
Labels
stage: needs investigating
Someone from Cypress needs to look at this
topic: typescript
type: error message
Current behavior
I've just set up cypress on my project, and I get a configuration error when I run cypress open. But the stack trace is empty and the file itself is really basic, here what it look like:
My
cypress.config.ts
:Desired behavior
No response
Test code to reproduce
My
cypress.config.ts
:Cypress Version
Cypress package version: 13.7.1 Cypress binary version: 13.7.1 Electron version: 27.1.3 Bundled Node version: 18.17.1
Node version
v20.9.0
Operating System
macOS Version 14.4 (23E214)
Debug Logs
Other
Downgrading to v18.17.0 via
n 18.17.0
and re-running gave me more details:Then adding
"module": "Preserve"
in my project tsconfig.json file. Then, bumping my version of node back to 20 worked fine.So it seems the issue came from the tsconfig.json file. But somehow the error fail to indicate that.
The text was updated successfully, but these errors were encountered: