-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error ENOENT: no such file or directory, open '/opt/build/cache/cwd/.cache.netlify.cache.json'
#1411
Comments
This issue has been linked to an error in Bugsnag |
Core bug Comment added in Bugsnag by Mickael Hebert |
@ehmicky Is there any workaround I could implement to fix this issue in the netlify-plugin-hugo-cache-resources plugin? |
Hi @cdeleeuwe, I am witnessing this bug in production, but am having trouble reproducing it. Did you manage to reproduce it? |
I opened an issue on @cdeleeuwe's github. This seems to be happening on my website, https://github.com/sathyabhat/sathyasays.com I removed the plugin and installed again but without success. |
@SathyaBhat, is this happening consistently? |
I managed to reproduce this problem in a fork: deploy logs, PR |
This is fixed by #1710. |
An error linked to this issue has been marked as fixed in Bugsnag |
An error linked to this issue has been reopened in Bugsnag |
Hi @ehmicky did you manage to deploy the fix? Today it's still a bug for me with the Hugo Cache Resources plugin. Anything to do for the plugin authors? |
@tilsammans For now I have pushed a workaround fix. Hopefully this fixes the problem for you. |
Hey @cdeleeuwe thanks for looking into it! Unfortunately, Hugo Cache Resources is still broken.
|
@tilsammans sure no problem. Actually, I pushed the fix in version 0.1.5 and master, but it hasn't been updated in Netlify yet (PR is still open netlify/plugins#131). Not sure if you have enabled the plugin through the Netlify UI or netlify.toml file, but if you want to use it now, you can use the latest version through the netlify.toml file. |
Hi @tilsammans and @cdeleeuwe, The fix mentioned above was deployed to production and solved some of the Once deployed to production, I will update this PR. In the meantime, the workaround mentioned by @cdeleeuwe also works (note: that workaround can be removed if you want once the PR above is in production). |
Awesome, thanks a lot @ehmicky ! OK, will remove the workaround once it's merged. |
I can confirm this bug is now fixed in production. |
Yes, also confirmed! Good work! |
The following error (or a variant) is thrown in some build logs:
This was also reported in jlengstorf/netlify-plugin-gatsby-cache#24.
Bugsnag error
Other Bugsnag error
The text was updated successfully, but these errors were encountered: