- This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues
- This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Been developing a couple of different Gatsby websites over the last few weeks with no issues at all. Both websites source data from WordPress using GraphQL.
Last night I ran npm run develop as usual and now my browser isn't rendering the website and throwing up the following error:
"Loading chunk node_modules_gatsby-plugin-image_dist_lazy-hydrate-9f0721eb_js failed"
My terminal is throwing up the following error:
"Error: ENOENT: no such file or directory, open '/Users/olivermcvey/Gatsby/hamiltonbrooke/.cache/caches/gatsby-plugin-sharp/diskstore-4d952606169b55fb368c7f62f68deb2c.json'"
I've tried running gatsby clean a few times and reinstalling my node_modules folder but no joy.
I'm still finding my way round Gatsby but this issue only occurs on pages with images.
Not sure if the problem lays with:
gatsby-plugin-image, childImageSharp or gatsby-source-wordpress?
Sorry, no repo to share.
Steps to Reproduce
Website to build and render normally
Website development server fails after visiting localhost
System: OS: macOS 11.4 CPU: (8) x64 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz Shell: 5.8 - /bin/zsh Binaries: Node: 16.4.2 - /usr/local/bin/node npm: 7.18.1 - /usr/local/bin/npm Languages: Python: 2.7.16 - /usr/bin/python Browsers: Chrome: 91.0.4472.114 Firefox: 88.0.1 Safari: 14.1.1 npmPackages: gatsby: ^3.9.0 => 3.9.0 gatsby-plugin-emotion: ^6.9.0 => 6.9.0 gatsby-plugin-image: ^1.9.0 => 1.9.0 gatsby-plugin-manifest: ^3.9.0 => 3.9.0 gatsby-plugin-postcss: ^4.9.0 => 4.9.0 gatsby-plugin-react-helmet: ^4.9.0 => 4.9.0 gatsby-plugin-sharp: ^3.9.0 => 3.9.0 gatsby-plugin-sitemap: ^4.5.0 => 4.5.0 gatsby-source-filesystem: ^3.7.1 => 3.9.0 gatsby-source-wordpress: ^5.9.0 => 5.9.0 gatsby-transformer-sharp: ^3.9.0 => 3.9.0