Cypress: Cypress v4.0.1 - Cannot start server: args.find is not a function

Created on 10 Feb 2020  路  5Comments  路  Source: cypress-io/cypress

Current behavior:

  • Click on test to run in Cypress UI

Desired behavior:

  • Chrome opens and runs the test

Actual behaviour

Screen Shot 2020-02-10 at 11 09 33

Versions

MacOS Mojave 10.14.6
Cypress 4.0.1

error message unexpected behavior

Most helpful comment

Updating cypress-log-to-output resolved this issue for me

All 5 comments

I not an experienced cypress user but I had quite a similar problem with Chrome version 80.0.3987.87
screenshot
Linux Ubuntu 18.04.3 LTS
Cypress 4.0.1

Current behavior:

  • Click on test to run in Cypress UI

Desired behavior:

  • Chrome opens and runs the test

Actual behaviour

Screen Shot 2020-02-10 at 11 09 33

Versions

MacOS Mojave 10.14.6
Cypress 4.0.1

I had the same problem.

If you use cypress-log-to-output, just update it :)

We have experienced this same error when starting cypress in CI mode using the following command line task run by Yarn.

PORT=${PORT:=3000} &&  start-server-and-test 'PORT=${PORT:=3000} && next start -p $PORT' http://localhost:$PORT 'PORT=${PORT:=3000} && cypress install && cypress run --config baseUrl=http://localhost:$PORT --browser=chrome'

Updating cypress-log-to-output resolved this issue for me

Closing as resolved.

If you're experiencing a bug similar to this in Cypress, please open a new issue with a fully reproducible example that we can run. There may be a specific edge case with the issue that we need more detail to fix.

Was this page helpful?
0 / 5 - 0 ratings