You are attempting to use Cypress with an older config file: cypress.json
When you upgraded to Cypress v10.0 the config file was updated and moved to a new location: cypress.config.ts
You may need to update any CLI scripts to ensure that they are referring the new version. This would typically look something like:
“cypress open –config-file=cypress.config.ts”
https://on.cypress.io/migration-guide
runResult.runs.forEach(run =>