Open eplatek-safyr opened 1 year ago
Just delete all node modules and package.lock.json once and run. It worked for me
I have this same problem, and deleting node_modules and package-lock.json did not resolve it. @eplatek-safyr, were you ever able to resolve this?
Hi,
When cypress is loaded and I try to open the spec in the app, I get the following error:
Error: ENOENT: no such file or directory, stat '/home/elias/.config/Cypress/cy/production/projects/tests-535beb165404f40fd3d30b63481a8024/bundles/cypress/e2e/all.spec.ts'
when I check the folder, the folder exists and the following file is found:
Error: ENOENT: no such file or directory, stat '/home/elias/.config/Cypress/cy/production/projects/tests-535beb165404f40fd3d30b63481a8024/bundles/cypress/e2e/all.spec.ts.js'
so the file exists, but with the
.ts.js
extension (not.ts
)How to solve this so cypress can resolve the file path correctly ?
Environment: ubuntu 22, node 18
cypress.config.ts
tsconfig.json
package.json