LironEr / cypress-mochawesome-reporter

Zero config Mochawesome reporter for Cypress with screenshots and videos
MIT License
159 stars 49 forks source link

Couldn't determine Mocha version #107

Closed marijana-rukavina closed 1 year ago

marijana-rukavina commented 1 year ago

Environment

- OS: Windows 10
- Node: 16.15.0
- cypress-mochawesome-reporter: ../../
- cypress: 10.0.2

What happened?

I run your example for multiple reporters and I get the message "Couldn't determine Mocha version". I had to add the mocha package in order for the message to disappear

image

Config file

Couldn't determine Mocha version

====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:        10.9.0                                                                         │
  │ Browser:        Electron 102 (headless)                                                        │
  │ Node Version:   v16.15.0 (C:\Program Files\nodejs\node.exe)                                    │
  │ Specs:          4 found (test2.cy.js, test3.cy.js, test4.cy.js, sub-dir/test1.cy.js)           │
  │ Searched:       cypress/e2e/**/*.cy.{js,jsx,ts,tsx}                                            │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘

Remove output folder C:\WORK\AutomationPlayground\cypress-mochawesome-reporter\examples\multiple-reporters\cypress\reports\html

────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  test2.cy.js                                                                     (1 of 4)
Couldn't determine Mocha version

Relevant log output

No response

Anything else?

No response

LironEr commented 1 year ago

Did you run npm install in the root directory of the repo and also in the example folder?

I have tried to reproduce the bug but I couldn't.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

marijana-rukavina commented 1 year ago

Hey, yes I did that

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.