-
-
Notifications
You must be signed in to change notification settings - Fork 727
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
Cannot run tests on local machine using @wdio/selenium-standalone-service because of ERR_REQUIRE_ESM #3574
Comments
ESM version: https://www.youtube.com/watch?v=sLW4YEl5IIA Solution: |
I'm re-opening this because the above solution is actually just a workaround. I want to be able to use the latest wdio/selenium-standalone-service with webdriverio helper. I already tried to create a CodeceptJS project with TypeScript and set "type":"module" in package.json but I'm still getting this error (when I did something similar for webdriverio project without Codecept it was able to run)
I also took a look at these resources, and others, but am not understanding the problem, maybe because I am new to Javascript https://stackoverflow.com/questions/69081410/error-err-require-esm-require-of-es-module-not-supported |
this combination also works |
This issue is stale because it has been open for 90 days with no activity. |
Could this be reviewed? As of it's latest release Instructions for setting up Webdriver should probably be updated to no longer use |
thank you @vcua-mobify once this #4123 is merged, this won't be an issue anymore. |
What are you trying to achieve?
I would like to run tests locally using @wdio/selenium-standalone-service
What do you get instead?
Could not load plugin wdio from module './plugin/wdio':
Details
The text was updated successfully, but these errors were encountered: