Thanks for your reply! I downgraded every packages from 5.9.0 to 5.8.0 but still the exact same error...
Here is my dependencies:
"dependencies": {
"@prismicio/react": "^2.6.2",
"@styled-system/theme-get": "^5.1.2",
"babel-plugin-styled-components": "^2.1.1",
"formik": "^2.2.9",
"gatsby": "^5.8.0",
"gatsby-plugin-canonical-urls": "^5.8.0",
"gatsby-plugin-catch-links": "^5.8.0",
"gatsby-plugin-image": "^3.10.0",
"gatsby-plugin-manifest": "^5.8.0",
"gatsby-plugin-netlify-cms": "^7.9.0",
"gatsby-plugin-polyfill-io": "^1.1.0",
"gatsby-plugin-prismic-previews": "^5.3.0",
"gatsby-plugin-react-svg": "^3.3.0",
"gatsby-plugin-sharp": "^5.8.0",
"gatsby-plugin-sitemap": "^6.9.0",
"gatsby-plugin-styled-components": "^6.9.0",
"gatsby-remark-images": "^7.9.0",
"gatsby-remark-relative-images": "^2.0.2",
"gatsby-remark-relative-images-v2": "^0.1.5",
"gatsby-source-filesystem": "^5.8.0",
"gatsby-source-prismic": "^5.3.0",
"gatsby-transformer-javascript-frontmatter": "^5.8.0",
"gatsby-transformer-remark": "^6.9.0",
"gatsby-transformer-sharp": "^5.8.0",
"gatsby-transformer-yaml": "^5.8.0",
"luxon": "^3.3.0",
"netlify-cms-app": "^2.15.72",
"nl2br": "^0.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropdown": "^1.11.0",
"react-markdown": "^8.0.7",
"rehype-raw": "^6.1.1",
"slug": "^8.2.2",
"styled-components": "^5.3.10",
"styled-reset": "^4.4.6",
"styled-system": "^5.1.5",
"typeface-eb-garamond": "^1.1.13",
"typeface-open-sans": "^1.1.13",
"yup": "^1.1.1"
},
"resolutions": {
"sharp": "0.31.1",
"babel-plugin-lodash/@babel/types": "^7.21.2"
}
(I’m trying to migrate from Netlify CMS to Prismic as I’m stuck with the image Sharp transformation. That explain lots of dependencies I’ll get rid of as soon as I’ll be able to make my Prismic API calls)
Do you have any other idea? I can host a skeleton of my project on a repo if it helps.
Thanks!