Skip to content
loading...

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

wolfiton profile image wolfiton github logo Updated on ・1 min read

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

twitter logo DISCUSS
Discussion
markdown guide
Classic DEV Post from Aug 13 '19

How open-source will Tumblr become?

In case you hadn't read the news, Verizon sold Tumblr to Automattic. Verizon owned Tumblr after it ac...

wolfiton profile image
I am a certified trainer that likes to share my knowledge with the world. Also, I am an adopter of continuous learning and evolving idea. https://dev.to/wolfiton/who-am-i-3lj7