memorialforestdg / memorialforestdg.github.io

'Remembering Together Dumfries & Galloway — The Dispersed Memorial Forest', a ScotGov-funded initiative in Dumfries & Galloway, Scotland, by commissioned artists t s Beall and Katie Anderson.
https://memorialforestdg.github.io
1 stars 1 forks source link

Image Toolkit: Sharp unable to find images during build #2

Open bnjmnrsh opened 4 months ago

bnjmnrsh commented 4 months ago

Called in imageToolkit.ts extractImageData() Sharp cannot find images when deployed; the dev server, however, works fine.

Error: Input file is missing: ./_astro/RememberingTogether_DumfriesLaunch_300dpi-19.ghY2ZFOJ.jpg
    at Sharp.stats (/home/runner/work/memorialforestdg.github.io/memorialforestdg.github.io/node_modules/sharp/lib/input.js:588:17)
    at extractImageData (file:///home/runner/work/memorialforestdg.github.io/memorialforestdg.github.io/dist/chunks/test_5RhrPUVl.mjs:378:44)
    at file:///home/runner/work/memorialforestdg.github.io/memorialforestdg.github.io/dist/chunks/test_5RhrPUVl.mjs:450:74
    at Array.map (<anonymous>)
    at file:///home/runner/work/memorialforestdg.github.io/memorialforestdg.github.io/dist/chunks/test_5RhrPUVl.mjs:449:10