Your pluginsFile did not export a valid function from: /path/to/pluginsFile
It must export a function with the following signature:
module.exports = (on, config) => {
// configure plugins here
}
Instead it exported:
"some string"
https://on.cypress.io/plugins-api