-
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
Cannot run example specs - Webpack Compilation Error #8523
Comments
Same here. |
Might be a duplication of #8364 |
@aplaskota @nelsongustavo Is this failing with the example specs that are seeding within your project? Or is this happening in the example specs after cloning the https://github.com/cypress-io/cypress-example-kitchensink repo directly? If it's within your own project, do you have a |
just happened to me,on my project:
|
@jjalonso Can you provide a repo that we can run to reproduce this error? |
My message was invalid, since i found an issue where i really had two
babel, one in babelrc file, and another babel prop in package.json. then...
not an issue.
…On Fri, 20 Nov 2020 at 12:45, Jennifer Shehane ***@***.***> wrote:
@jjalonso <https://github.com/jjalonso> Can you provide a repo that we
can run to reproduce this error?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8523 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC7CW7TCXEGZRXZLEQJ26TSQZQF5ANCNFSM4RAEX7XA>
.
|
This, or something similar is happening to me:
MacOS@10.15.7 It works in an empty repo, but I can't share the one I'm using it in. |
Same issue here in a private repo:
|
Can anyone provide a reproducible example? Here are some tips for providing a Short, Self Contained, Correct, Example and our own Troubleshooting Cypress guide. |
Hey guys, it was my .babelrc file... I was able to fix with this modification... |
Duplicate of #8364 |
const { should } = require("chai") Remove the above line from your code, this line maybe on top of you commands.js file |
this line "const { should } = require("chai")" has appear somehow in my spec.js file on the top. |
Just delete the last two folders i.e. Plugings & supports and see the magic |
@pratikraut840 this solution is perfect. works for me |
Error: Webpack Compilation Error |
@testingy12345 are you able to file a separate issue with a reproduction that we can run to recreate the issue? |
The issue is resolved in today afternoon. |
@testingy12345 how did you resolve the issue ? |
Current behavior:
I cannot open any example tests. Each try generates the same error
Desired behavior:
Example tests should be run and working after Cypress installation
Test code to reproduce
npm install cypress --save-dev
)npx cypress open
)Versions
Node 10.22.0
npm 6.14.6
Cypress 5.1.0
Windows 10
Chrome 85.0.4183.83 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: