ERROR [gatsby-source-contentful] Please install gatsby-plugin-sharp after updating gatsby v3.2.0 to v3.3.0 #30927
Replies: 3 comments 3 replies
-
Did you run The info you provide is a bit sparse sadly. |
Beta Was this translation helpful? Give feedback.
-
Can confirm. Same thing happened to use after that exact update. |
Beta Was this translation helpful? Give feedback.
-
Turns out this is a confusing error message. gatsby/packages/gatsby-source-contentful/src/extend-node-type.js Lines 697 to 716 in 71ec0cd I did some digging, and Thankfully, Contentful provides a useful error: {
"sys": {
"type": "Error",
"id": "ParameterNotAllowed",
"details": {
"parameters": [
"crop"
]
}
}
} So, here is the cause of the issue: gatsbyImageData(
width: 480
height: 480
quality: 100
cropFocus: CENTER
resizingBehavior: THUMB
) If you use
However, take a look at the url generated for the cache: gatsby/packages/gatsby-source-contentful/src/cache-image.js Lines 36 to 38 in 71ec0cd Nice and simple fix, but yes, the error was misleading... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting the following error message on my console after updating gatsby from 3.2.0 to 3.3.0
i tried gatsby clean and as well as deleting node_modules and re-installing it, but no luck.
Beta Was this translation helpful? Give feedback.
All reactions