I get this error with a vanilla gatsby project, using the latest version of this plugin.
error Plugin gatsby-source-datocms returned an error
TypeError: Site is not a constructor
- createSiteNode.js:15 module.exports
[gatsby-source-datocms]/createSiteNode.js:15:14
if I dig into createSiteNode.js the variable Site (used on line 15) is undefined. Both siteEntity and itemsRepo used in the constructor seem to be correct.
Is this an issue with datocms-client or this packages usage of it?
I get this error with a vanilla gatsby project, using the latest version of this plugin.
if I dig into
createSiteNode.js
the variableSite
(used on line 15) is undefined. BothsiteEntity
anditemsRepo
used in the constructor seem to be correct.Is this an issue with
datocms-client
or this packages usage of it?