Skip to content

Common Development Issues and Work Arounds

Patrick Simonian edited this page Jan 16, 2019 · 2 revisions

Common Development Issues

Gatsby Develop/Build Fails in Local Dev

This issue appears to be happening regardless of machine. I have an issue with the gatsby repo https://github.com/gatsbyjs/gatsby/issues/11109 to spur some talk on it.

The issue

Gatsby develop/build fails with one of two error messages:

  1. TypeError: Cannot read property 'children' of undefined
  2. TypeError: Cannot read property 'internal' of undefined

Work around

It appears to be a caching issue. Delete the .cache folder within app-web and you should be good to go

Developing in gatsby-path-transformer-remark plugin

The issue

When developing in this local transformer plugin, no changes will be visible on the client until the .cache folder has been deleted.

Work around

It appears to be a caching issue. Delete the .cache folder within app-web and you should be good to go