When I am trying to Run Cypress Test Runner following error is coming Can't walk dependency graph: ENOENT: no such file or directory, lstat
Cypress Version
Cypress package version: 9.5.1 Cypress binary version: 9.5.1 Electron version: 15.3.4 Bundled Node version: 16.5.0
Following are the configuration:-
- Package.json
{
"name": "cypressautomationproject",
"version": "1.0.0",
"main": "index.js",
"author": "",
"license": "ISC",
"devDependencies": {
"@types/cypress-cucumber-preprocessor": "^4.0.1",
"cypress": "^9.5.1",
"cypress-cucumber-preprocessor": "^4.3.1",
"cypress-iframe": "^1.0.1",
"mocha": "^5.2.0",
"mochawesome": "^7.1.0"
},
"dependencies": {
"cucumber": "^7.0.0-rc.0",
"run": "^1.4.0",
"socket.io": "^4.4.1"
},
"description": "",
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": true
}
}
- Cypress.json
{
"defaultCommandTimeout": 6000,
"pageLoadTimeout": 20000,
"reporter":"mochawesome",
"modifyObstructiveCode": true,
"experimentalSourceRewriting":true,
"chromeWebSecurity": true,
"testFiles": ["**/*.feature","**/*.js"],
"projectId": "jyfuej",
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": true,
"cucumberJson": {
"generate": true,
"outputFolder": "cypress/cucumber-json",
"filePrefix": "",
"fileSuffix": ".cucumber"
}
}
}
Not able to Identify the issue