component-driven / cypress-axe

Test accessibility with axe-core in Cypress
MIT License
622 stars 86 forks source link

I am facing below error while running tests cases for a11y. #95

Open Reshma-git opened 3 years ago

Reshma-git commented 3 years ago

Oops...we found an error preparing this test file:

/app/cypress/support/index.js

The error was:

Error: Can't walk dependency graph: Cannot find module 'cypress-axe' from '/app/cypress/support' required by /app/cypress/support/index.js

This occurred while Cypress was compiling and bundling your test code. This is usually caused by:

Fix the error in your code and re-run your tests.

System configuration:- Ubuntu 18.04 LTS (windows 10) using below versions. "axe-core": "^4.1.4", "cypress": "^4.12.1", "cypress-axe": "^0.8.2",