Closed victorfeight closed 2 years ago
The problem lead me to believe the files were being cached somewhere, but in actuality, the markdown blog post was not being saved before being rebuilt, causing the file to keep reverting to the previous version.
I'm getting the same error in a custom build with this.
First I thought that I had to write the eleventyConfig.addPassthroughCopy
before other codes but the error keeps showing even when I build all images are there in the public output.
Do you remember how did u fix this?
Hello @cozarkd , can you walk me through the behavior you're experiencing? It was quite a while ago so I don't remember the exact fix
$ npx @11ty/eleventy --version 1.0.1-canary.3
node version 16.13.2
I've emulated this theme's features to the best of my ability into my site, and it's been working fine for several months, but recently I've had a strange issue I was wondering if somebody could help me fix.
My typical flow is, I write my posts in markdown. I think copy and paste the images into img folder. I then run npm run serve or npm run watch, or npm run build followed by ./.persistimages and then git push.
Recently, I added a few images to img folder. Then I ran a build and push, then renamed the images and deleted one. Now eleventy is throwing a fit about it, and it's preventing images from displaying correctly.
Firstly, I feel as if my eleventy run did not trigger the image plugins as they're supposed to... I'm talking about img-dim.js did not create a blurry placeholder, srcset.js did not create extra sizes of the image, as indicative by looking into the img folder. I'm wondering what could be the cause behind these scripts not triggering. Here is the top of my eleventy.js, with all relevant img transformations.
Now, the strangest thing is that I'm not sure how Eleventy is finding this ghost filename "VLSM_289374010_1610151022774833_6442967407583153458_n.jpg" currently. Secondly, whenever I run eleventy serve, the html version that is written inside of _site does contain ghost references to these files, on every build. I'm wondering where it could be getting this from.
Steps I've taken:
In addition, here is my package.json: