Open A-Anand12 opened 1 year ago
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
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? https://github.com/rpii/wdio-html-reporter/blob/master/package.json#L46
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
Please let me know if any other info is required to share here.
htmlReporter.js