next-and-cypress-example icon indicating copy to clipboard operation
next-and-cypress-example copied to clipboard

Can't visit localhost:3000

Open sinuheshinbr opened this issue 4 years ago • 5 comments

Hey, I'm trying to run Cypress on my Next.js app, and I'm having trouble. localhost:3000 works in my browser. Cypress can visit any other site. But when I try to visit localhost it doesn't work. I tried running your app and I have the same problem. Do you have any tips?

sinuheshinbr avatar Sep 16 '20 15:09 sinuheshinbr

Not sure why it would be the case. Can you post screenshots

Sent from my iPhone

On Sep 16, 2020, at 11:45, Sinuhe Shin [email protected] wrote:

 Hey, I'm trying to run Cypress on my Next.js app, and I'm having trouble. localhost:3000 works in my browser. Cypress can visit any other site. But when I try to visit localhost it doesn't work. I tried running your app and I have the same problem. Do you have any tips?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

bahmutov avatar Sep 16 '20 15:09 bahmutov

Nothing really useful on images, Cypress client just tries until timeout then return error. I tried creating a new create-react-app it works. On a fresh create-next-app it doesn't. Your project still running fine in your machine?

sinuheshinbr avatar Sep 16 '20 18:09 sinuheshinbr

@bahmutov Sorry guys, but your CI have status "failed", could you fix it?

vmihda avatar Sep 21 '20 20:09 vmihda

Fixed the build, there was a broken record returned by the external show API, should be good now

bahmutov avatar Sep 21 '20 21:09 bahmutov

Could you reproduce the issue by:

  1. The steps you have made.
  2. The log on your browser or your terminal.
  3. A screenshot of your browser.

alamenai avatar Dec 10 '23 03:12 alamenai