Strange error: "Couldn't find `%!s(<nil>)` in the `assets/media/` folder"

Hi, I built a website with hugo, but coming back to it after a month, it no longer builds, with a strange error:

alex@toaster:~/src/alpaca-site$ hugo serve
Start building sites … 
hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66+extended linux/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio
ERROR 2022/09/17 11:37:17 Couldn't find `%!s(<nil>)` in the `assets/media/` folder - please add it.
Error: Error building site: logged 1 error(s)
Built in 341 ms

Any suggestions much appreciated!

You deleted assets/media/coders.jpg one month ago:

But your content still contains a reference to the deleted file:

1 Like

Thanks for taking the time to look at this, that’s solved it!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.