Error while running Cypress 9.1.0 on node 18.12.0 #24544
Unanswered
phillmund
asked this question in
Questions and Help
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
After upgrading to the new node lts version I get the following error while running the existing tests via the open command:
Error: The following error was thrown by a plugin. We stopped running your tests because a plugin crashed. Please check your plugins file (/***/cypress/plugins/index.js) at Object.get (/***/Library/Caches/Cypress/9.1.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:1043:15) at EventEmitter.handleError (/***/Library/Caches/Cypress/9.1.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/index.js:189:20) at EventEmitter.emit (node:events:394:28) at ChildProcess.<anonymous> (/***/Library/Caches/Cypress/9.1.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:19:22) at ChildProcess.emit (node:events:394:28) at emit (node:internal/child_process:920:12) at processTicksAndRejections (node:internal/process/task_queues:84:21)
My plugins file is empty:
`///
// ***********************************************************
// This example plugins/index.js can be used to load plugins
//
// You can change the location of this file or turn off loading
// the plugins file with the 'pluginsFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/plugins-guide
// ***********************************************************
// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)
/**
*/
// eslint-disable-next-line no-unused-vars
module.exports = (on, config) => {
// "on" is used to hook into various events Cypress emits
// "config" is the resolved Cypress config
}
`
Did anyone have this issue before? How can I solve it? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions