[bug]: add warning in Gatsby core when multiple versions of sharp detected #13781
Closed
5 tasks done
Labels
status: confirmed
Issue with steps to reproduce the bug that’s been verified by at least one reviewer.
type: bug
An issue or pull request relating to a bug in Gatsby
Description
Several of our plugins require sharp@^0.21.3 which does not resolve to the latest version of sharp.
sharp@0.21.3 seems to have severe issues with Node 12, therefore our plugins should be upgraded to account for this. However--we want to do so in a way that is transparent to the end user, and doesn't introduce breaking changes if e.g. only one plugin is updated but others aren't (or at least warn in this scenario in Gatsby core!).
Steps to reproduce
Upgrade to Node 12. Run
gatsby new something
and see theyarn install
ornpm install
step fail as in #13780Expected result
It should successfully install
Actual result
It doesn't.
Environment
Node 12, sharp@0.21.3.
Steps
The last of these is being worked on by @davidbailey00 (but if someone else wants to tackle this--more than welcome to do so!), so it'd be nice to get that in before we bump the versions in the plugins to be as low-impact as possible to our end users.
Related Issues / PRs
See #13646
The text was updated successfully, but these errors were encountered: