Basically I get a error message saying that my command to open Cypress in visual studio timed out.
CodePudding user response:
Solution 1:
You need to run npx cypress verify
, there's a verification that's meant to happen for first-time users.
Solution 2:
To resolve this issue, you need to increase the default timeout
. For this, go to below path: node_modules\cypress\lib\tasks\verify.js
Open verify.js
, search variable VERIFY_TEST_RUNNER_TIMEOUT_MS
. By default, it should be 30000. Change it to 100000
.
If neither solution is working, run the command npm cache clean --force
to clean cache & rerun the steps again.