putyourlightson / craft-sprig

A reactive Twig component framework for Craft CMS.
https://putyourlightson.com/plugins/sprig
MIT License
124 stars 9 forks source link

`The file or directory to be published does not exist` error #392

Closed shifuma closed 1 week ago

shifuma commented 2 weeks ago

Bug Report

I don't think this is a bug, but maybe rather something odd happening in my setup. I've started noticing this regularly in my error logs:

The file or directory to be published does not exist: /home/vendor/putyourlightson/craft-sprig-core/src/resources/lib/htmx/2.0.1

I've tried running composer update in case it's out of date dependencies, but it persists. I have sprig-core 3.5.1 in my composer.lock.

ComponentsService.php also lists the correct version: public const HTMX_VERSION = '2.0.2';

I've cleared caches and so I'm confused where to look next. Any thoughts?

Plugin Version

3.5.0

Craft CMS Version

5.4.4

PHP Version

No response

bencroker commented 2 weeks ago

If the htmx version constant says 2.0.2 but the file that cannot be found is 2.0.1 then it really must be a caching issue. I don't see any other explanation.

shifuma commented 1 week ago

Thanks Ben, I'll keep digging.