You are attempting to use Cypress with an older config file: custom.json
When you upgraded to Cypress v10.0 the config file was updated and moved to a new location: custom.config.js
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=custom.config.js"
https://on.cypress.io/migration-guide