Trying MongoDB + Gatsby tutorial - fails to generate pages


I have been trying out the tutorial Gatsby and MongoDB:

Everything works fine until adding the file “gatsby-node.js”. Ideally, upon adding this file, it should generate the pages for 400 odd books from the database, but it isn’t.

There isn’t any error with the code. Am I missing anything?

Any help would be appreciated.

Hi Akhil - do you have a repo I can take a look at to help you further diagnose the issue?