-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Error: ENOENT: no such file or directory #1265
Comments
This comes up from time to time, but I'm not able to reproduce the issue. Are you able to construct a step-by-step guide that consistently reproduces this? |
I built another project in my documents and when I try to execute it, displays this error. I see inside the directory that there isn't this file feature, I believe being a token because when I copy the OA_Tool.feature to the directory, it displays another issue such as token failure. I believe Cypress creates this file automatically. 1 - npx cypress open Error: ENOENT: no such file or directory, stat 'C:\Users\9874374324\AppData\Roaming\Cypress\cy\production\projects\Project-52c4c2a822c3c1529f5b499dd4733ed6\bundles\cypress\e2e\OA_ear_regression\OA_Tool.feature' |
I had the same issue, I want to add that in my case when I run headless using |
I had the same problem. |
I had the same problem. I solved it partially by removing "cypress-cucumber-preprocessor" from my package.json. I kept "@badeball/cypress-cucumber-preprocessor": "^20.1.2". But when I change my .feature file, the changes do not reflect in the Cypress test. Does anyone have any suggestions on how to resolve this? |
Current behavior
Hi all, I've been struggling with the issue for a long time, I had initially created a project file on my Desktop, and I needed to create another one in my Document path, I removed everything and installed it from scratch, even so happens this error.
I don't know how to solve it, I saw some topics with it, but it didn't work.
I noticed that executing the command directly in my terminal,
npx cypress run --spec "cypress/e2e/OA_ear_regression/OA_Tool.feature"
The Cypress runs well. It seems that the @badeball/cypress-cucumber-preprocessor/esbuild is using the cache, I guess.
Desired behavior
Cypress runs .feature tests on the browsers.
Test code to reproduce
This is my cypress.config.ts configured :
Versions
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.4",
Checklist
cypress-cucumber-preprocessor@4.3.1
(package name has changed and it is no longer the most recent version, see #689).The text was updated successfully, but these errors were encountered: