Gatsby: ValidationError: "siteMetaData" is not allowed

Created on 27 Feb 2020  Â·  1Comment  Â·  Source: gatsbyjs/gatsby

I was following this tutorial here
until yesterday it worked. Today when I checked it isn't working
Im getting an error when I try to run gatsby develop

The site's gatsby-config.js failed validation
ValidationError: "siteMetaData" is not allowed
â ‹ open and validate gatsby-configs

I tried writing all again but still, it is not working. My gatsby config


module.exports = {
  siteMetaData: {
    title: `Full-Stack Developer`,
    author: `Faiz Hameed`,
  },

  plugins: [`gatsby-plugin-sass`],
}

I am using Ubuntu 18.04.
At first this worked then when i opened the project next day. I tried gatsby develop as the first thing then i got this error

bug

Most helpful comment

changed to siteMetadata instead of siteMetaData

>All comments

changed to siteMetadata instead of siteMetaData

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jimfilippou picture jimfilippou  Â·  3Comments

ghost picture ghost  Â·  3Comments

ferMartz picture ferMartz  Â·  3Comments

totsteps picture totsteps  Â·  3Comments

andykais picture andykais  Â·  3Comments