vercel / nextjs-portfolio-starter

Easily create a portfolio with Next.js and Markdown.
https://demo.vercel.blog
673 stars 263 forks source link

Posts page not listing any posts #2

Closed clovis-rosa closed 3 years ago

clovis-rosa commented 3 years ago

Hi all! First, thanks for the awesome work you guys put on it!

I just cloned the repo, run yarn install and yarn dev. Zero modification on the code. The build version is running fine at https://newblogtest.vercel.app/, but I'm getting this message when I navigate to /posts, it shows the header, navbar, footer but no posts is listed on the page:

Warning: Prophrefdid not match. Server: "\\" Client: "/" at a at Link (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1616604704119:927:19) at div at Nav (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1616604704119:6403:3) at article at Layout (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1616604704119:6685:3) at http://localhost:3000/_next/static/chunks/pages/index.js?ts=1616604704119:6768:29 at NextraPage (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1616604704119:20285:103) at MDXContent (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1616604704119:20291:25) at Nextra (http://localhost:3000/_next/static/chunks/pages/_app.js?ts=1616604704119:10297:24) at ErrorBoundary (http://localhost:3000/_next/static/chunks/main.js?ts=1616604704119:755:47) at ReactDevOverlay (http://localhost:3000/_next/static/chunks/main.js?ts=1616604704119:859:23) at Container (http://localhost:3000/_next/static/chunks/main.js?ts=1616604704119:9236:5) at AppContainer (http://localhost:3000/_next/static/chunks/main.js?ts=1616604704119:9725:24) at Root (http://localhost:3000/_next/static/chunks/main.js?ts=1616604704119:9856:24) printWarning @ react-dom.development.js:67 hot-dev-client.js:182 [Fast Refresh] done

node - v15.9.0 yarn - v1.22.5 SO: Windows 10 Chrome: v.89.0.4389.90

karesztrk commented 3 years ago

Same issue here after starting development build. Posts are not listed.

Using node v14.16.1 OS Windows 10

nachoiacovino commented 3 years ago

It looks like a Windows bug, I had the exact problem, I tried running the repo on WSL2 and it works fine there for me.