-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Could not load reporter by name #1192
Comments
Update: Shouldn't mocha be auto-installed with cypress? Also, the error messages should indicate mocha is missing instead of the reporter. |
FYI: I had to install Context: I use lerna and yarn as a monorepo, also had to add cypress, mocha, and mochawesome to nohoist. package.json on root: "workspaces": {
"packages": ["packages/*"],
"nohoist": [
"**/mochawesome",
"**/mochawesome/**",
"**/mocha",
"**/mocha/**",
"**/cypress",
"**/cypress/**"
]
} |
Peer dependencies are not installed when running If any of you have any issue, please consider opening a new issue if you still experience any problem. Commenting on closed issues is not a good way to get attention to your problem. |
Released in |
Is this a Feature or Bug?
Bug.
Current behavior:
When specifying any custom reporter (tried with
mocha-multi-reporters
andmochawesome
) incypress.json
, cypress fails withHowever, the reporter is installed and can be found at the specified path:
Desired behavior:
Cypress loads the reporter successfully
How to reproduce:
make a starter project
run
npm i mocha-multi-reporters --save-dev
add the following
cypress.json
file:run
npx cypress run
Test code:
n/a
Additional Info (images, stack traces, etc)
n/a
The text was updated successfully, but these errors were encountered: