Closed malaskowski closed 4 years ago
hey, @Skejven
the error looks like a corrupted node_modules build, so I think you may be able to fix it with a "Clear Cache & Deploy"
if that doesn't clear it up, try a yarn upgrade
, which will change your lockfile and trigger Netlify to build the latest versions of the dependencies
let me know if that doesn't fix it!
Thank you @jlengstorf ,
yarn upgrade
fixed my problem (rebuilding with cleared cache didn't).
great to hear! thanks for following up!
Hi @jlengstorf, I've tried your plugin with my Gatsby site deployed on Netlify today. I'm using sharp module to optimise images during page generation:
Part of my
package.json
(unfortunately the project is not public and I can't share the codebase):The Netlify build failed after I applied the plugin (according to the instruction).
After I removed the plugin from
netlify.toml
the Netlify builds work again.Generating images renditions is the main part of the build process of my website. Is that a known issue? Maybe some hints how I can fix it?