gatsby-theme-intro icon indicating copy to clipboard operation
gatsby-theme-intro copied to clipboard

Error with gatsby-plugin-sharp

Open robinheinze opened this issue 2 years ago • 2 comments

When running gatsby build, it fails with this error:

ERROR #11329

Your plugins must export known APIs from their gatsby-node.js.

See https://www.gatsbyjs.com/docs/reference/config-files/gatsby-node/ for the list of Gatsby node APIs.

- The plugin [email protected] is using the API "unstable_onPluginInit" which is not a known API.

Some of the following may help fix the error(s):

- Rename "unstable_onPluginInit" -> "onPluginInit"

Can we upgrade gatsby-plugin-sharp?

robinheinze avatar Mar 14 '22 21:03 robinheinze

Hey, thanks for info. The theme is currently compatible with Gatsby v2 - I need to make more comprehensive upgrade to v3, I plan to do it within a few weeks, but I don't have any exact ETA yet.

wkocjan avatar Mar 15 '22 11:03 wkocjan

Ok, no worries! I will try downgrading Gatsby and see if that helps. Great theme, BTW! Everything works wonderfully :D

robinheinze avatar Mar 16 '22 15:03 robinheinze