Skip to content

source-google-docs: Expected property name or '}' in JSON at position 1 #233

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

Open
renenadorp opened this issue Jul 17, 2023 · 0 comments
Open

Comments

@renenadorp
Copy link

Gatsby build fails with error source-google-docs: Expected property name or '}' in JSON at position 1

Versions:

  • Gatsby: 5.11.0
  • Gatsby CLI: 5.11.0
  • Node: v20.2
  • npm: 9.8.0
  • os: MacOS 13.2

Gatsby.config.js:

/**
 * @type {import('gatsby').GatsbyConfig}
 */
module.exports = {
  siteMetadata: {
    title: `pkm`,
    siteUrl: `https://www.yourdomain.tld`
  },
  plugins: ["gatsby-plugin-postcss", "gatsby-plugin-mdx", {
    resolve: "gatsby-source-google-docs",
    options: {
        // https://drive.google.com/drive/folders/FOLDER_ID https://drive.google.com/drive/folders/15DxH7Yrn_EnbnMqNmZ766j5woMAectFN
        folder: "15DxH7Yrn_EnbnMqNmZ766j5woMAectFN",
        createPages: true,
    },
},
  ]
};

I've followed instructions described in https://www.gatsbyjs.com/plugins/gatsby-source-google-docs/.

I'm stuck now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant