For some reason, your site is trying to generate images inside Lambda: Function details | Functions | Logs | roaring-biscochitos-2a0921 | Netlify
ERROR Unhandled Promise Rejection {"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: \nSomething went wrong installing the \"sharp\" module\n\nlibvips-cpp.so.42: cannot open shared object file: No such file or directory\n\nPossible solutions:\n- Install with verbose logging and look for errors: \"npm install --ignore-scripts=false --foreground-scripts --verbose sharp\"\n- Install for the current linux-x64 runtime: \"npm install --platform=linux --arch=x64 sharp\"\n- Consult the installation documentation: https://sharp.pixelplumbing.com/install","reason":{"errorType":"Error","errorMessage":"\nSomething went wrong installing the \"sharp\" module\n\nlibvips-cpp.so.42: cannot open shared object file: No such file or directory\n\nPossible solutions:\n- Install with verbose logging and look for errors: \"npm install --ignore-scripts=false --foreground-scripts --verbose sharp\"\n- Install for the current linux-x64 runtime: \"npm install --platform=linux --arch=x64 sharp\"\n- Consult the installation documentation: https://sharp.pixelplumbing.com/install","stack":["Error: ","Something went wrong installing the \"sharp\" module","","libvips-cpp.so.42: cannot open shared object file: No such file or directory","","Possible solutions:","- Install with verbose logging and look for errors: \"npm install --ignore-scripts=false --foreground-scripts --verbose sharp\"","- Install for the current linux-x64 runtime: \"npm install --platform=linux --arch=x64 sharp\"","- Consult the installation documentation: https://sharp.pixelplumbing.com/install"," at Object.<anonymous> (/var/task/node_modules/sharp/lib/sharp.js:37:9)"," at Module._compile (node:internal/modules/cjs/loader:1364:14)"," at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)"," at Module.load (node:internal/modules/cjs/loader:1203:32)"," at Module._load (node:internal/modules/cjs/loader:1019:12)"," at Module.require (node:internal/modules/cjs/loader:1231:19)"," at require (node:internal/modules/helpers:177:18)"," at Object.<anonymous> (/var/task/node_modules/sharp/lib/constructor.js:11:1)"," at Module._compile (node:internal/modules/cjs/loader:1364:14)"," at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: Error: ","Something went wrong installing the \"sharp\" module","","libvips-cpp.so.42: cannot open shared object file: No such file or directory","","Possible solutions:","- Install with verbose logging and look for errors: \"npm install --ignore-scripts=false --foreground-scripts --verbose sharp\"","- Install for the current linux-x64 runtime: \"npm install --platform=linux --arch=x64 sharp\"","- Consult the installation documentation: https://sharp.pixelplumbing.com/install"," at process.<anonymous> (file:///var/runtime/index.mjs:1294:17)"," at process.emit (node:events:517:28)"," at emit (node:internal/process/promises:149:20)"," at processPromiseRejections (node:internal/process/promises:283:27)"," at process.processTicksAndRejections (node:internal/process/task_queues:96:32)"]}
Astro uses Netlify’s Image CDN if I’m not mistaken, but you seem to be using an outdated version of Astro. Have you tried upgrading to the latest?