Skip to content
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

Webpack error after upgrade to 11.0 #24625

Closed
shunyun-bp opened this issue Nov 9, 2022 · 4 comments
Closed

Webpack error after upgrade to 11.0 #24625

shunyun-bp opened this issue Nov 9, 2022 · 4 comments
Assignees

Comments

@shunyun-bp
Copy link

Current behavior

After installing Cypress version 11.0.0 all tests fail with the same error:
Error: Webpack Compilation Error ./cypress/e2e/home_page.cy.js Module build failed (from /Users/seanonion/Library/Caches/Cypress/11.0.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/@cypress/webpack-preprocessor/dist/lib/cross-origin-callback-loader.js): Error: Cannot find module '/Users/seanonion/Library/Caches/Cypress/11.0.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/@babel/parser/lib/index.js'. Please verify that the package.json has a valid "main" entry

Cypress 11 error.log

Desired behavior

Run tests that were successfully running in previous version (v10.11.0).

Test code to reproduce

cannot reproduce into a public repo

Cypress Version

11.0.0

Node version

v16.13.2

Operating System

macOS 12.6

Debug Logs

No response

Other

I had done nothing to setup webpack-preprocessor in 10.11.0 and earlier, so no idea why this is happening now.

@shunyun-bp
Copy link
Author

cypress 11 debug.txt

@chris-mclennan
Copy link

I too am getting the same error message

@bennymeade
Copy link

Duplicate of #24611

@ryanthemanuel
Copy link
Collaborator

This is a duplicate of #24611 and will be fixed with #24630

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants