datocms / gatsby-source-datocms

Official GatsbyJS source plugin to pull content from DatoCMS
MIT License
140 stars 50 forks source link

v2.6.2 forces to install gatsby-plugin-image which is not compativle with Gatsby v2 #150

Closed Chompas closed 3 years ago

Chompas commented 3 years ago

I've just updated to v2.6.2 but got the following error Cannot find module 'gatsby-plugin-image/graphql-utils'

I currently can't update to Gatsby v3 due to other dependency problems with Webpack 5 so I can't install gatsby-plugin-image

This should be treated as a breaking change instead.

stefanoverna commented 3 years ago

Hi @Chompas! The new v2.6.3 marks "gatsby-plugin-image" as an optional peer dependency, let me know if it solves your issues.

Chompas commented 3 years ago

Hi @stefanoverna It did solve it. Thanks!