Giter Site home page Giter Site logo

Comments (10)

StevenStavrakis avatar StevenStavrakis commented on June 19, 2024 5

It seems that you need to add a featured image as well as a tag, otherwise it won't compile. If you add an image to your post and add a tag, it should work.

from gridsome-starter-wordpress.

nitras avatar nitras commented on June 19, 2024 4

I've spend 2 hours finding this error out. This should be captured by the code when people do not have tags or a featured image.

from gridsome-starter-wordpress.

truc0 avatar truc0 commented on June 19, 2024 1

Could you share your solution?

from gridsome-starter-wordpress.

Keromudo avatar Keromudo commented on June 19, 2024 1

The requirements won't be satisfied until

  • every post has featured image and tag

  • you need to add tag into the Posts>Tags menu.

Then it will compile.

I personally think that this should be fixed and it should work out-of-the-box with fresh WP setup.

from gridsome-starter-wordpress.

wbarnard81 avatar wbarnard81 commented on June 19, 2024 1

Just to confirm, adding a featured image and a tag to posts, fixes the issue.

from gridsome-starter-wordpress.

sethharris4989 avatar sethharris4989 commented on June 19, 2024

I am getting this same error.

from gridsome-starter-wordpress.

lorvent avatar lorvent commented on June 19, 2024

so this issue is not fixed yet???


i am able to fix it by removing lines related to featuredImage (since my site doesn't use featured images at all)

from gridsome-starter-wordpress.

binnyFriedman avatar binnyFriedman commented on June 19, 2024

Any updates on this? I am getting the same error.

from gridsome-starter-wordpress.

lorvent avatar lorvent commented on June 19, 2024

if they make tag and featured images optional and show them only if have it...then problem will be fixed.

from gridsome-starter-wordpress.

truc0 avatar truc0 commented on June 19, 2024

Emmmm, it seems to be one of the features of GraphQL.

GraphQL guarantees that you can receive data as the format that you request.

Thus it is hard to make it optional.

from gridsome-starter-wordpress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.