Upgrading to [email protected] - plugins file unable to find module @cypress/webpack-preprocessor #16662
Unanswered
christofer-castillo
asked this question in
Plugins
Replies: 1 comment
-
Maybe you should log a bug, not a discussion for this kind of matter :| |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all. So I have been using [email protected] and everything works fine. I wanted to upgrade to take advantage of the new cy.intercept features. No config has changed between the two versions, however, I get the error message
Error: Cannot find module '@cypress/webpack-preprocessor'
.This is the stack trace. Any idea on what exactly is causing this.
Error: Cannot find module '@cypress/webpack-preprocessor'Require stack:
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
at Module._load (internal/modules/cjs/loader.js:732:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12789)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/Users/christofercastillo/project-name/cypress/plugins/index.js:14:12)
at Module._compile (internal/modules/cjs/loader.js:1078:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
at Module.load (internal/modules/cjs/loader.js:935:32)
at Module._load (internal/modules/cjs/loader.js:776:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12789)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (internal/modules/cjs/helpers.js:88:18)
at runPlugins (/Users/christofercastillo/Library/Caches/Cypress/7.4.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/run_plugins.js:175:15)
at Object. (/Users/christofercastillo/Library/Caches/Cypress/7.4.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/index.js:8:25)
at Module._compile (internal/modules/cjs/loader.js:1078:30)
Beta Was this translation helpful? Give feedback.
All reactions