-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
WebdriverIO Version
V8.8.2
Node.js Version
v18.12.0
Mode
Standalone Mode
Which capabilities are you using?
No response
What happened?
When using the CJS import on @wdio/cli then you get the error:
node_modules/@wdio/cli/build/cjs/index.js:1
export class Launcher {
^^^^^^
SyntaxError: Unexpected token 'export'
What is your expected behavior?
Expect that importing the @wdio/cli CJS build would result in no SyntaxErrors.
How to reproduce the bug.
To reproduce the bug you need to import the @wdio/cli CJS build and execute tests
Relevant log output
NoneCode of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
Reactions are currently unavailable