jlengstorf / netlify-plugin-gatsby-cache

185 stars 21 forks source link

This plugin is missing a "manifest.yml" #29

Closed MZOG closed 4 years ago

MZOG commented 4 years ago

Hi,

I am getting this error when I try to deploy.

Netlify issue

Does anyone had this before? About 20 days ago everything was ok.

KarlRombauts commented 4 years ago

I am experiencing the same issue.

Everything seemed to be working on May 25th, and then the next build on May 27th failed due to a plugin error.

image

My error message in the build log looks identical to yours.

After some digging, I found that 7 days ago Netlify has required manifest.yml files. See this commit: https://github.com/netlify/build/commit/773d32bab879e2cab9fe94ec203f5621d1e87212

But there seems to be a valid manifest file in the root directory: https://github.com/jlengstorf/netlify-plugin-gatsby-cache/blob/master/manifest.yml

So I am not entirely sure why Netlify is not happy

KarlRombauts commented 4 years ago

Interestingly, when I cleared my Netlify cache and tried rebuilding, everything went smoothly.

image

But then I tried building again, now that the cache had been populated, Netlify threw the same error again. image

Admittedly I don't fully understand the Netlify cache and the details about what it stores. But maybe someone with more experience can shed some light on what is happening. :)

For now, I am just disabling the plugin, but if there is anything I can do to try and help fix the issue let me know. I really like this plugin as it makes my builds super snappy!

jlengstorf commented 4 years ago

hey, everyone! thanks for reporting this!

this issue is due to Netlify using the cached version of the plugin, which was missing a manifest prior to v0.2.2

the appropriate fix is to run a "clear cache and deploy" on Netlify, which will pull the latest version of the plugin

I'll look into a fix on the Netlify side to see if we can auto-retry for plugins with new versions or something — will report back if anything changes

in the meantime, I'm going to close this because the latest version of the plugin works, but please feel free to post additional questions here!