Next.js: localhost didn鈥檛 send any data.

Created on 29 Jan 2020  路  8Comments  路  Source: vercel/next.js

Screenshot 2020-01-29 at 5 03 24 PM

https://github.com/zeit/next.js/tree/canary/examples/with-http2

i followed the same steps given in the above link but after running npm run dev i am getting this.

All 8 comments

Your issue may be related to #8408, probably the server crashes after getting the request. You can use a workaround here by disabling the compression:

const app = next({
  dev,
  conf: {
    compress: false
  }
})

yes i have changed to
const app = next({
dev,
conf: {
compress: false
}
})
but still same issue

i am using node v12.13.1

Make sure you are accessing https://localhost:3000, not http://localhost:3000

Screenshot 2020-01-29 at 11 50 07 PM

it's showing me this

https://github.com/zeit/next.js/tree/canary/examples/with-http2 .

can you check this repo once as i need to implement http2 for my company project . and it's related to realtor.com

it's very kind of you , if you can share a repo in which it's working

@para27rsh you are not alone, I have the same issue, I have latest next and express, literally dont know what to do right now, I even trying to run nextjs directly but it doesn't run.

to get past the "Your Connection is not private" in Chrome can you simply just type thisisunsafe and see if it lets you get past that screen

I was facing the same issue, my solution was

update all your packages ---> npm install ---> npm run dev

problem solved! ;)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kenji4569 picture kenji4569  路  3Comments

swrdfish picture swrdfish  路  3Comments

YarivGilad picture YarivGilad  路  3Comments

formula349 picture formula349  路  3Comments

timneutkens picture timneutkens  路  3Comments