Your configFile is invalid: /path/to/cypress.config.js
It threw an error when required, check the stack trace below:
Error: fail whale
at makeErr (cypress/packages/errors/test/unit/visualSnapshotErrors_spec.ts)
at CONFIG_FILE_REQUIRE_ERROR (cypress/packages/errors/test/unit/visualSnapshotErrors_spec.ts)