Skip to content
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

Not working with WDIO 8 #41

Open
ValentinCondurache opened this issue Jun 2, 2023 · 2 comments
Open

Not working with WDIO 8 #41

ValentinCondurache opened this issue Jun 2, 2023 · 2 comments

Comments

@ValentinCondurache
Copy link

Hello,
I tried to install delta reporter but is not working with latest wdio version (v8). I think that the reason is that is written using CJS modules and not ES modules.
Here is the error:

ERROR @wdio/config:ConfigParser: Failed loading configuration file: file://frontend/e2e/app/wdio.app.conf.js:
require() of ES Module \frontend/e2e/node_modules/@wdio/logger/build/index.js from frontend/e2e/node_modules/@delta-reporter/wdio-delta-reporter-service/lib/src/reporter.js not supported.

Instead change the require of index.js in frontend/e2e/node_modules/@delta-reporter/wdio-delta-reporter-service/lib/src/reporter.js 
to a dynamic import() which is available in all CommonJS modules.
@stainsmjohnson
Copy link

+1

@jayeshphalak93
Copy link

Did anyone found solution for this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants