Skip to content

Cant get gatsby-source-github-api to load properly #23

@iamjmitch

Description

@iamjmitch

Hi,

Sorry if this is not the right place to post this but I cant seem to get this to load up properly.

I goto localhost:8000/___graphql I do now have the option of allGithubData/githubData however there is no user/repo there.

Current gatsby-node.js file

const dotenv = require("dotenv")
    dotenv.config()
    
  plugins: [
    {
      resolve: `gatsby-source-github-api`,
      options: {
        url: "https://api.github.com/graphql",
        token: process.env.GATSBY_GITHUB_ACCESS,
        },
    },
...
]

.env file seems to be working fine for other plugins so I don't think that's the problem.

Have tried uninstall package globally and from --save and reinstalling.

What am I doing wrong?

Edit: no issues thrown on gatsby develop

CT4lV

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions