-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
System generated cypress.config.ts issue #22034
Comments
Seems like a dup of #22038. See this comment: #22038 (comment) Are you able to share your existing project? Ideally a repo we could clone, but if that's too much trouble, a |
@santheep can you confirm whether you have |
We have the same issue and yes we have a tsconfig.json in our project, but just for linting and other reasons, no typescript installed. |
@tgriesser, @lmiller1990 should we close this as a dupe of #22038? |
@mjhenkes no, they're separate issues - opening a fix for this one shortly |
* fix: changes to correct typescript detection behavior, fixes #22034 Co-authored-by: Matt Henkes <[email protected]>
The code for this is done in cypress-io/cypress#22058, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
upgraded successfully to cypress ver 10
after running cypress open
Select e2e Testing (not configured)
It recommends the following changes
click continue
Throws Syntax error eventhough the default cypress.config.ts was system generated
--cypress.config.ts--
Desired behavior
IT should continue successfully
Test code to reproduce
SyntaxError
Cypress Version
v10.0.1
Other
Cypress package version: 10.0.1
Cypress binary version: 10.0.1
Electron version: 18.0.4
Bundled Node version:
16.13.2
The text was updated successfully, but these errors were encountered: