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

Failed loading configuration file when use wdio-video-reporter with node 16 #75

Closed
p001389 opened this issue Jun 27, 2022 · 1 comment
Closed

Comments

@p001389
Copy link

p001389 commented Jun 27, 2022

ERROR @wdio/config:ConfigParser: Failed loading configuration file: {MyPath}\wdio.conf.js: undefined

The error just happen when I require to wdio-video-reporter in configuration file and using Node 16 version.
The error not happen when I use Node 14 version

const video = require('wdio-video-reporter');
reporters: [
        ...
        [
            video,
            {
                saveAllVideos: false, // If true, also saves videos for successful test cases
                videoSlowdownMultiplier: 3, // Higher to get slower videos, lower for faster videos [Value 1-100]
            },
        ],
    ],

More info about package.json

"devDependencies": {
    "@wdio/allure-reporter": "^7.20.0",
    "@wdio/cli": "^7.20.2",
    "@wdio/dot-reporter": "^7.20.0",
    "@wdio/junit-reporter": "^7.20.0",
    "@wdio/local-runner": "^7.20.0",
    "@wdio/mocha-framework": "^7.20.0",
    "@wdio/selenium-standalone-service": "^7.20.0",
    "@wdio/spec-reporter": "^7.20.0",
    "wdio-video-reporter": "^3.2.1",
  },
@p001389
Copy link
Author

p001389 commented Jun 28, 2022

So sorry, having some mistake in my package.lock.json
Now I can run wdio-video-reporter with node 16.
So I closed this issue.

@p001389 p001389 closed this as completed Jun 28, 2022
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

1 participant