-
Notifications
You must be signed in to change notification settings - Fork 26
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
TypeError: ReportEvents is not a constructor with wdio v8 #100
Comments
I am facing similar issue 2023-06-25T12:24:42.709Z ERROR @wdio/config:ConfigParser: Failed loading configuration file: file:///C:/WdioOpenfin/wdio.conf.cucumber.copy.js: ReportEvents |
Do you have the updated version of reportEvents?
…On Sun, Jun 25, 2023 at 5:27 AM vdrulerz ***@***.***> wrote:
I am facing similar issue
*2023-06-25T12:24:42.709Z ERROR @wdio/config:ConfigParser: Failed loading
configuration file:* file:///C:/WdioOpenfin/wdio.conf.cucumber.copy.js:
ReportEvents
is not a constructor
TypeError: ReportEvents is not a constructor
*at
file:///C:/WdioOpenfin/node_modules/wdio-html-nice-reporter/lib/htmlReporter.js:10:19*
—
Reply to this email directly, view it on GitHub
<https://github.com/rpii/wdio-html-reporter/issues/100#issuecomment-1606065013>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEABIEO3CLLLLC3IHTZOGOTXNAVCDANCNFSM6AAAAAAZMWYSLM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Version used is: "wdio-html-nice-reporter": "8.1.0" |
This was resolved for me by removing node_modules and package-lock.json and reinstalling, since the internal dependency was not updated just by upgrading wdio-html-nice-reporter alone. Shouldn't this package's dependency on wdio-report-events use an explicit version for exactly this kind of reason? |
Yes that is probably a good thing.
…On Wed, Aug 16, 2023 at 12:11 PM Gregory Paciga ***@***.***> wrote:
This was resolved for me by removing node_modules and package-lock.json
and reinstalling, since the internal dependency was not updated just by
upgrading wdio-html-nice-reporter alone.
Shouldn't this package's dependency on wdio-report-events use an explicit
version for exactly this kind of reason?
https://github.com/rpii/wdio-html-reporter/blob/master/package.json#L46
—
Reply to this email directly, view it on GitHub
<https://github.com/rpii/wdio-html-reporter/issues/100#issuecomment-1681139611>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEABIENFIJSKHGTHXGXR5LLXVULNHANCNFSM6AAAAAAZMWYSLM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Seeing this error while running a test and the file which throws this error is the
![image](https://private-user-images.githubusercontent.com/102506424/247008696-918478e5-63a0-4cc5-aebc-0c386fdafa60.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4NTQ3NDEsIm5iZiI6MTcxODg1NDQ0MSwicGF0aCI6Ii8xMDI1MDY0MjQvMjQ3MDA4Njk2LTkxODQ3OGU1LTYzYTAtNGNjNS1hZWJjLTBjMzg2ZmRhZmE2MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMFQwMzM0MDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lYTQ0ZjUwYjkxZmZkZGE0MDQxNmZjZGM2MGI4ZDA2ZTdhYmQzYmE2YTU4OWJhY2Q2MThjMmYzYzhiZmNkODZmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.dKVTPd3ETTcY4BZWHnX3BMWhUJYJFFRoooQpIuJ48_4)
![image](https://private-user-images.githubusercontent.com/102506424/247008711-0afe547f-afac-4254-8275-57f1758a4851.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4NTQ3NDEsIm5iZiI6MTcxODg1NDQ0MSwicGF0aCI6Ii8xMDI1MDY0MjQvMjQ3MDA4NzExLTBhZmU1NDdmLWFmYWMtNDI1NC04Mjc1LTU3ZjE3NThhNDg1MS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMFQwMzM0MDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04MmY2ZDQ3MDI5MjY0ZGU4YzI1OGYyM2Q5OTE2ZTc4MGI2YmEwMzE2ODZkYzZkMzQ2Yjk3NGNiNjBjMzUxNDYzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Hezw6PVUmHYCNtY4YGsy1_ht3OfPWIzf_qAR74VWVtg)
htmlReporter.js
Please let me know if any other info is required to share here.
The text was updated successfully, but these errors were encountered: