DEV Community 👩‍💻👨‍💻

wolfiton
wolfiton

Posted on • Updated on

Solved:TypeError: Cannot read property 'map' of undefined in next 9.3.6

Hi everyone,

I was following the nextjs tutorial and reached the stage of using prerendering for markdown files.

After following all the steps in the tutorial I got:

TypeError: Cannot read property 'map' of undefined

Has anyone managed to understand why this is happening?

The tutorial can be found here

I only found this git issue

Update

Submitted a Github issue to Nextjs Team, the issue can be found here

Update 2

The problem got fixed: I had a typo in _app.js Pros instead of Props

Thanks @kartikpandey2, for showing me where the problem was.

Thanks in advance

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.