-
Notifications
You must be signed in to change notification settings - Fork 75
Unable to build because of an image fetching / caching error #162
Comments
I am suspecting something is wrong on Prismic's end. I tried to republish the assets in Primsic and it managed to get past occasionally. |
I discovered that as long as there is the folder In a local development environment, we can create the folder manually, but would be impossible when deployed in netlify for example. Hope this will be fixed soon. |
@andyto You can create the folder on the fly by placing the following code in gatsby-node.js (this will work for netlify):
|
Good catch all! exports.createResolvers = ({ cache, getCache, [...] }) => {
[...]
return createRemoteFileNode({
[...],
cache,
getCache,
[...]
});
} I have not investigated more on this. Might do it later and follow up with a PR.
|
I have the same issue. Cost me hours and hours. @dphoursa your hack works but I hope that's only temporary. Edit: |
@elias-thok Very strange. Are you following the new plugin config of the latest release. Is the name of your image attribute in prismic matches sharpKeys? |
I have the same issue. Unexpected error value: "failed to process https://images.prismic.io/jeroendruwe/cced738b-fa9f-4b84-9d5f-4b4a03ce42f7_frituur.png?auto=compress,format\nError: ENOENT: no such file or directory, open '/Users/jdruwe/Work/freelance/jeroendruwe/.cache/caches/gatsby-source-prismic-graphql/tmp-32ccaf04c2df563b22d46b86a5621c90.png'" Due to imageSharp { in my query |
Just wanted to chime in to say that I can confirm this is a regression in the latest version of the source — I have 2 projects where I changed nothing but upgraded this package and saw this error. The monkeypatch from @dphoursa works well for now. |
I have the exact same issue as described by multiple others above. When trying to query any
I can also confirm that the on-the-fly folder creation patch in |
Also ran into this problem. Confirming either rolling back to 3.4.1-alpha.0 or using above-mentioned workaround in gatsby-node.js resolves the error for now. Thanks! |
Wordked for me thanks |
- Migrating away from gatsby-source-prismic-graphql due to poor support and continued unadressed stability issues like: birkir/gatsby-source-prismic-graphql#217 birkir/gatsby-source-prismic-graphql#77 birkir/gatsby-source-prismic-graphql#162
* Begin Implementing SEO on Show Pages * Build Re-useable Config Context * Wrap Application in Config Context * Use New Config Context Instead of Direct Static Query * Create Simpler Method for Accessing Context in Our Application * Add Props Validation for Schemas * Move Fragments to GraphQL Root * Add Next Season Variable To Context * Remove Un-needed Index * Improve Destructuring of UseConfig Returned Data * Begin Reorganizing/ Rebuilding Schemas * Update Component To Get Gatsby Compiling * Begin Rebuilding SEO Schema Component Structure * Convert Schema to Typescript * Reorg SEO & New ESLint Configs Project for Project * Remove Errant “S” * Implement Zeit Now & Update All Dependencies * Re-lint All Project FIles * Remove Deprecated NOW Properties * Remove References to SEO — Temp * Prep For Ticket Receipt Email * Migreate Back to Netlify & Remove API Routes * Update Dependencies * Update Readme with Nerve Theatre Data * Clean Up Global Context * Fix File Import Case * Resolve GraphQL Dependency Issue + Update Dependencies Temporarily resolve an issue with `gatsby-source-graphql-universal` dependency: birkir/gatsby-source-graphql-universal#14 * Update Netlify Config with Proper Redirect Value Type * Improve Git Ignore Layout * Temporarily Resolve Broken Functionality * Update Snipcart to 3.0.11 * Remove Duplicate Plugins * Integrate Ascend ESLint Config * Remove Node Engines * Continue Typescript Migration & App Refactor + Move to CSS Variables * Continue Massive Refactor * Add Keys to SSR List items * Remove Invalid Theme Prop * Update Config Query Name * Finish Converting Legacy Components to Typescript * Temp Add Typescript Rule * Add Return Types for Site Config Query * Remove Slices from Season Type * Begin Building Link Map * Build Out Super-Dope Link Map Give us direct access to all site links/pages/shows/seasons etc. Can you feel the power? * Remove All Seasons URL from Node * Set Up Proper Link Map Fallbacks * Temporarily Fix Issue with `gatsby-source-prismic-graphql` Plugin birkir/gatsby-source-prismic-graphql#162 * Refactor Query, Type, & Component Structure * Build Poster Grid & Show Poster Component * Improve Show Poster Stylings * Update Packages To Latest * Completey Convert Codebase to better Gatsby Source Prismic - Migrating away from gatsby-source-prismic-graphql due to poor support and continued unadressed stability issues like: birkir/gatsby-source-prismic-graphql#217 birkir/gatsby-source-prismic-graphql#77 birkir/gatsby-source-prismic-graphql#162 * Upgrade to Snipcart 3.0.15
Hello!
I'm experiencing a bug using this plugin. Seems to be related to the image caching process.
It happens when building. But only after having cleaned the cache when developing (it works on second run). First
yarn start
fails thenyarn start
again and it works.Here is the error that I'm getting:
I replicated the bug on a fresh install for you to reproduce: https://github.com/sreucherand/issue-03152020
The text was updated successfully, but these errors were encountered: