The returned value of the devServer function is not valid.

The returned value must be an object with a port property of the dev-server that is running.

Instead, we saw:

{}

Learn more: https://on.cypress.io/dev-server