How to resolve the "Webpack Compilation Error-module not found" error in cypress using javascript. #29784
Unanswered
BhimChandra
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
### How to resolve the "Webpack Compilation Error-module not found" error in cypress using javascript.
Please help me in this. I would be very grateful
Description:-
Getting "Webpack Compilation-Module not found" error when passing address of the respective 'fixture json data' file using the "require" method in the main test.
Example: Passing the below code in the main test. i.e.
const jsonData = require('../fixtures/DataDrivenTesting.json')
Getting below error message after running the code:-
Webpack Compilation Error Module not found:
No tests found. Cypress could not detect tests in this file.
Notes:-
I am using Windows 11, Cypress 13.11.0 and Node 18.17.1
Beta Was this translation helpful? Give feedback.
All reactions