Skip to content
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

[docs][guides] new page on top errors with troubleshooting advice #19196

Closed
marcysutton opened this issue Nov 1, 2019 · 2 comments
Closed

[docs][guides] new page on top errors with troubleshooting advice #19196

marcysutton opened this issue Nov 1, 2019 · 2 comments
Assignees
Labels
type: documentation An issue or pull request for improving or updating Gatsby's documentation

Comments

@marcysutton
Copy link
Contributor

marcysutton commented Nov 1, 2019

Summary

To support people of all skill levels building Gatsby sites, we want to add a Reference Guide with the top errors and how to fix them. This would live in the Debugging Gatsby section, and could have a title of "Common Errors and Troubleshooting" or something to that effect.

Some potential subtopics to include:

  • Node/Sharp issues
  • data sourcing errors
  • GraphQL errors
  • errors from common plugins

Structure

A reference guide explains a Gatsby concept or technique without the step-by-step context provided by a tutorial or recipe. Refer to the contributing docs for a reference guide template and the Gatsby Style Guide for writing conventions.

Audience

Beginner to novice developers with a limited understanding of Gatsby or GraphQL should be able to follow along with this guide to debug and try to lead them to a solution. As we say in the Style Guide, avoid jargon and assumed knowledge of terminology or extremely technical conventions.

Motivation

To help people building Gatsby sites solve their issues, so they can move onto something else! Easier debugging means happier development usually.

Approach

Due to how big this issue is we're going to note various stages of work that we expect to complete.
[ ] - Error messages and debugging
[ ] - Behavior errors (e.g. it works on develop and not built)
[ ] - Interactive page that allows for feedback of top bugs, a component to upvote and help us surface that most common errors and issues

@marcysutton marcysutton added the type: documentation An issue or pull request for improving or updating Gatsby's documentation label Nov 1, 2019
@gillkyle
Copy link
Contributor

gillkyle commented Nov 25, 2019

Discussing this errors on the team led to some additional ideas and notes for this:

  • including the full strings of errors (sort of like a GitHub issue might) will be helpful for search and SEO
  • when is a gatsby clean necessary to clean out the internal cache?
  • the @gatsbyjs/core might have some better insight into what issues show up most frequently and aren't just things that have already been patched

@gillkyle
Copy link
Contributor

gillkyle commented Mar 4, 2020

We added this guide in #19966, I'll close now, though the ideas in original post could add some more cool functionality!

@gillkyle gillkyle closed this as completed Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation An issue or pull request for improving or updating Gatsby's documentation
Projects
None yet
Development

No branches or pull requests

3 participants