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 Test Files -- no such file or directory #99

Open
gajraj-gan opened this issue Jul 3, 2024 · 1 comment
Open

Cypress Test Files -- no such file or directory #99

gajraj-gan opened this issue Jul 3, 2024 · 1 comment

Comments

@gajraj-gan
Copy link

Getting this error on adding this preprocesser, it has come up suddenly for some reason -- Error: ENOENT: no such file or directory, stat '/Users/gajraj/Library/Application Support/Cypress/cy/production/projects/something-3546e842a36c09cb919b6b441ea4bea1/bundles/cypress/e2e/test-name.cy.ts

@andypattenden
Copy link

Getting this error on adding this preprocesser, it has come up suddenly for some reason -- Error: ENOENT: no such file or directory, stat '/Users/gajraj/Library/Application Support/Cypress/cy/production/projects/something-3546e842a36c09cb919b6b441ea4bea1/bundles/cypress/e2e/test-name.cy.ts

I started seeing this same error after I enabled file watching on builds in my Vite config that Vite Cypress was using.

I ended up using a separate config for Vite Cypress and ensuring that the watch build option wasn't set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants