-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
11.0.0 cypress run
-> Error: Cannot find module 'mocha-7.0.1'
#24607
Comments
Installing |
cypress run
-> Error: Cannot find module 'mocha-7.0.1'
we also have the same issue after cypress updated to 11.0.0. |
Same issue here, we didn't change anything in our configuration. Locally I was still on version 10 of cypress -> no problems there We use 'cypress-multi-reports':
|
I have same issue |
We are actively investigating the issue. |
The Same issue for me. |
same |
Same issue |
Similar issue only it was modules related to babel which I don't use, tried various npm solutions. Downgrading cypress to previous version was only solution. |
The code for this is done in cypress-io/cypress#24630, but has yet to be released. |
Released in 11.0.1. This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
When I upgraded to 11.0.0, I ran
cypress run
as usual, and I got an errorError: Cannot find module 'mocha-7.0.1'
Desired behavior
No response
Test code to reproduce
const { defineConfig } = require('cypress')
module.exports = defineConfig({
reporter: 'mochawesome',
reporterOptions: {
reportDir: 'cypress/results',
overwrite: false,
html: false,
json: true
}
})
Cypress Version
11.0.0
Node version
v16.18.0
Operating System
macOS 13.0
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: