Followed the tutorial step by step. And I get the following error related to the graph query.
GraphQL Error Unknown field `siteMetadata` on type `Site`
file: C:/Code/Projects/bss3/prt4-data/src/layouts/index.js
1 |
2 | query LayoutQuery {
3 | site {
> 4 | siteMetadata {
| ^
5 | title
6 | }
7 | }
8 | }
As per tutorial, this is defined in gatsby-config.js
which is in the root.

Repeated more than once, starting from scratch.
npm: 5.4.2
node: 6.11.3