cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.68k stars 3.16k forks source link

ERROR: Error: ERR_FAILED (-2) loading 'http://localhost:51708/__launchpad/index.html' #27730

Open jiideeh opened 1 year ago

jiideeh commented 1 year ago

Current behavior

i keep getting this error when trying to open cypress 13, cypress

Desired behavior

i should be able to open cypress 13 from my vs code

Test code to reproduce

npx cypress open

Cypress Version

13

Node version

v16.13.2

Operating System

mac OS catalina, version 10.15

Debug Logs

No response

Other

No response

AtofStryker commented 1 year ago

Hi @jiideeh . Thank you for opening an issue. This is usually permissions related. Have you tried running with elevated permissions?

jiideeh commented 1 year ago

pls expantiate @AtofStryker, how do i do this?..i tried clearing cache, but it didnt work.

AtofStryker commented 1 year ago

@jiideeh are you able to run the command prefixed with sudo?

JamesBug404 commented 1 year ago

I also have this problem, any luck?

vinayk545 commented 9 months ago

I am also facing the same issue. any workaround here?

FerEnoch commented 6 months ago

Same issue here...

sszemeresky commented 3 months ago

having the issue since yesterday. cypress 10 any clues?

lauratischukaccesso commented 1 month ago

You might want to double check your cypress config files. Two times I saw this same error message were because of the following:

  1. The baseUrl property was accidentally typed as baseURL and that seemed to cause Cypress to crash with this message. 2. Check that configurations and/or imports aren't referencing other file paths incorrectly. I saw the same error crash happen when a particular initialization was trying to pull in a config file that was using the wrong path.
jennifer-shehane commented 4 weeks ago

@lauratischukaccesso I'm not able to reproduce this first instance you mention of the baseURL being wrong and causing Cypress to crash. Can you provide a repo?