bahmutov / next-and-cypress-example

Next.js example instrumented for code coverage from Cypress tests
140 stars 25 forks source link

Can't visit localhost:3000 #97

Open sinuheshinbr opened 4 years ago

sinuheshinbr commented 4 years ago

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?

bahmutov commented 4 years ago

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 notifications@github.com 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.

sinuheshinbr commented 4 years ago

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?

vmihda commented 4 years ago

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

bahmutov commented 4 years ago

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

alamenai commented 12 months ago

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.