I cannot open any example tests. Each try generates the same error
Error: Webpack Compilation Error
./cypress/integration/examples/aliasing.spec.js
Module build failed (from C:/user_path/Cypress/Cache/5.1.0/Cypress/resources/app/packages/server/node_modules/babel-loader/lib/index.js):
Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.
Example tests should be run and working after Cypress installation
npm install cypress --save-dev)npx cypress open)
Node 10.22.0
npm 6.14.6
Cypress 5.1.0
Windows 10
Chrome 85.0.4183.83 (Official Build) (64-bit)
Webpack Compilation Error
./cypress/support/index.js
Module build failed (from /Users/gustavop/Library/Caches/Cypress/5.2.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/babel-loader/lib/index.js):
Error: Cannot find module 'babel-plugin-transform-class-properties' from '/Users/gustavop/code/sst-digital'
Webpack Compilation Error
./cypress/integration/examples/actions.spec.js
Module build failed (from /Users/gustavop/Library/Caches/Cypress/5.2.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/babel-loader/lib/index.js):
Error: Cannot find module 'babel-plugin-transform-class-properties' from '/Users/gustavop/code/sst-digital'
Same here.
Might be a duplication of https://github.com/cypress-io/cypress/issues/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 .babelrc file present in the project? Because it may be a duplicate of #8364 or some other issue. Please provide the contents of this file or any other configuration from you project. Thanks!
just happened to me,on my project: yarn add cypress, yarn run cypress open, clicking any spec will show that error.
Error: Webpack Compilation Error
./cypress/integration/examples/cookies.spec.js
Module build failed (from /Users/jjalonso/Library/Caches/Cypress/5.6.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/babel-loader/lib/index.js):
Error: Multiple configuration files found. Please remove one:
- package.json
- /Users/jjalonso/Work/showcode-app/.babelrc
from /Users/jjalonso/Work/showcode-app
@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 notifications@github.com
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
https://github.com/cypress-io/cypress/issues/8523#issuecomment-731149503,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC7CW7TCXEGZRXZLEQJ26TSQZQF5ANCNFSM4RAEX7XA
.
Most helpful comment
Same here.