Could you please help me with migration from old to new Gatsby Prismic integaration plugin? I set up two pages, they work normally with new plugin. Now I am setting up next page. This page is template, it has 11 different pages. The problem is that 9 of 11 pages are available and work. But I can query 2 remaining pages of 11. GraphQL playground does not see them. And I have mistake:
"gatsby-source-prismic" threw an error while running the sourceNodes lifecycle:
Cannot read property 'reduce' of null
TypeError: Cannot read property 'reduce' of null
These page are available with old plugin gatsby-source-prismic-graphql. I check data in Prismic — it is identical both for problem and non-problem pages.