question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Could not load plugin wdio from module './plugin/wdio': Cannot find module './plugin/wdio'

See original GitHub issue

What are you trying to achieve?

I tried to use codecept js with webdriver as helper to run visual testing.

What do you get instead?

When ran the test with specific config file, ran into below error:

image

Provide test source code if related package.json as below:

image

config.js as below

image

Details

  • CodeceptJS version:
  • NodeJS Version: v8.11.3
  • Operating System: MAC OS High Sierra
  • webdriverio
  • Configuration file:
# paste config here

Can anybody give any support on this? Thanks in advance.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
mohiteashishdcommented, Apr 8, 2020

Facing the issue : Could not load plugin wdio from module ‘./plugin/wdio’: Cannot read property ‘outputDir’ of undefined

“devDependencies”: { “@wdio/cli”: “^6.0.14”, “@wdio/selenium-standalone-service”: “^6.0.12”, “codeceptjs”: “^2.6.1”, “webdriver”: “^6.0.14”

3reactions
prabhushancommented, Oct 13, 2020

What we should modify? It still throws the error

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues - GitHub
Could not load plugin wdio from the Module '. ... However, in its current state, the wdio plugin does not parse the services...
Read more >
Selenium standalone service plugin can not working
I used this command got the following error. Could not load plugin wdio from module './plugin/wdio': Couldn't initialise “@wdio/selenium-standalone ...
Read more >
webdriverio/webdriverio - Gitter
Hi Team, I am facing the below error: Error: Could not load plugin wdio from module './plugin/wdio': name.toLowerCase is not a function.
Read more >
How I can allow browser.pause? WDIO (wdio/no-pause ...
It doesn't allow you to pause when using an async function. For this reason, you need to add this rule by specifying it...
Read more >
Plugins - CodeceptJS
Launch Allure server and see the report like on a screenshot above: ... if you fill field and input validation doesn't accept your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found