"gatsby-source-printful" threw an error while running the sourceNodes lifecycle:
products.map(...).flat is not a function
63 | variants.map(({ variant_id }) => variant_id)
64 | )
> 65 | .flat()
| ^
66 |
67 | const uniqueCatalogVariantIds = catalogVariantIds.reduce(
68 | (unique, item) => (unique.includes(item) ? unique : [...unique, item]),
File: node_modules/gatsby-source-printful/gatsby-node.js:65:6
Here is what I have done. I am not doing any queries yet, just the basic set up:
I can't find any documentation online how this should be configured. Any help would be appreciated.