-
Notifications
You must be signed in to change notification settings - Fork 31
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
Failed to compile with 2 errors #24
Comments
Same problem here. Working 10 days ago. Suddenly stopped working. |
Have same problem, even with fresh install of wordpress |
Ok these errors occur when no media has been created and no one post has tags. For tags : Because use map on empty array if no post contains tags the createReference function is never called and graphql does not add the tags property in the type WordPressPost. If you don't use tags on wordpress you can remove On template <template v-if="$page.wordPressPost.tags.length">
<h4>Tags</h4>
<ul class="list tags">
<li v-for="tag in $page.wordPressPost.tags" :key="tag.id" >
<g-link :to="tag.path">{{ tag.title }}</g-link>
</li>
</ul>
</template> and on page-query tags {
id
title
path
} To remove errors in the generations |
I've got the same problem, because I didn't create posts and didn't link to one of them the tagname |
First time using Gridsome.. Tried with both WordPress starters. This one and other bootstrap.. Same error on both. What i'm doing wrong?
In gridsome.config.js
The text was updated successfully, but these errors were encountered: