Closed wswebcreation closed 1 month ago
This is a copy of https://github.com/webdriverio/webdriverio/issues/13469
Solution:
Check the runner, if other than local
then throw an error
Will be fixed with https://github.com/webdriverio/visual-testing/pull/521
Have you read the Contributing Guidelines on issues?
WebdriverIO Version
9.0.7
Node.js Version
20.5.0
Mode
Standalone Mode
Which capabilities are you using?
No response
What happened?
I initiated an empty project using vite cli and then added storybook using its cli too. Then I used wdio and selected some options which you can check in the github respository. Now when I run
pnpm wdio
I get the following error:I tried and changed the code inside the node_modules folder, and then I basically start going down a rabbit hole of fixing esm/cjs related errors like
require not defined
orexports not defined
etc.What is your expected behavior?
Have no error
How to reproduce the bug.
To reproduce the bug simply:
Relevant log output
Code of Conduct
Is there an existing issue for this?