Comments (13)
Is there a workaround for this, @hjvedvik?
from gridsome-starter-blog.
I see. Gridsome creates the GraphQL schema based on fields it finds at startup, so that's probably why the coverImage
isn't an image field sometimes. We are working on a solution to make Gridsome remember the schema instead of just looking up fields on nodes every time you start the development server, but it's not ready yet :)
from gridsome-starter-blog.
No I haven't yet. I'm hoping the fix get merged in soon enough.
from gridsome-starter-blog.
Is there an update about this issue ? How can I re-generate the GraphQL schem ?
from gridsome-starter-blog.
@Xstoudi @miralize Have you tried?
rm -rf node_modules
rm -rf .cache
from gridsome-starter-blog.
Does this happen while the development server is running or when you start up again after deleting a post?
from gridsome-starter-blog.
It happens when I delete the post and start up the server again.
from gridsome-starter-blog.
Alright, that makes sense. Looking forward to that fix.
from gridsome-starter-blog.
@lauragift21 Have you by chance found a decent workaround in the meantime?
Locally, I've been deleting those arguments, starting the server, and then re-adding them after reboot. On (Netlify) deploy, I just run re-run the build until it works 😬
from gridsome-starter-blog.
I've had this happen whenever I change the image path in frontmatter as follows:
# Builds and displays
cover_image: /images/test.jpg
# Builds but does not display image (doesn't exist?)
cover_image: ./images/test.jpg
# Doesn't build and displays this error (path saved by Netlify CMS)
cover_image: images/test.jpg
from gridsome-starter-blog.
Here is a plugin that might fix this error
from gridsome-starter-blog.
I'm getting this error on GitHub actions when doing a build, not develop. Is there any workaround?
from gridsome-starter-blog.
Did you find a resolution? I raised gridsome/gridsome#1031.
from gridsome-starter-blog.
Related Issues (20)
- SCSS on Vue components cannot be found at build HOT 1
- Can'n installl dependencies
- Dependencies fail to build with Node v12 on MacOS High Sierra HOT 2
- seems my blog css and js files can not loaded HOT 1
- How to modify prismJs styling for _code.scss
- Missing pages in GraphQL
- Cannot get field 'tags' from type 'Post'. Field does not exist. HOT 2
- All blog posts 404 HOT 5
- Cover images are not visible
- Help: how to insert Post language inside Tag object HOT 1
- Markdown pages are not being transformed into HTML HOT 3
- Tags are returning null from query
- Changing a logo on theme switch
- How to keep aspect ratio of Responsive images? HOT 2
- Add Paging
- On iPhone 6s on first tap PostCard does not load blog post
- Question: How do i show full posts instead of summaries in the homepage?
- gridsome develop command fails HOT 3
- webfonts import url should not insert spaces
- Getting errors when installing npm packages in both Ubuntu WSL and Windows 11 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gridsome-starter-blog.