You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered: