shopify is not loading on graphql

Highlighted
New Member
3 0 0

I am using gatsby and I load the shopify in the config and it is in the jason file.  When I go to use graphql I do not see anything with shopify on it. Thus I can't use graphql. below is the config and jason file.  I hope someone has an answer.

module.exports = {
  siteMetadata: {
    title: `Gatsby Shopify Starter`,
    description: `Gatsby & Shopify Starter for the WebDevEducation course.`,
    title: `MadHatter Store`,
    description: `We're mad about hats`,
    author: `@tomphill`,
  },
  
  plugins: [
    `gatsby-plugin-styled-components`,
    `gatsby-optional-chaining`,

    {
      resolve: `gatsby-plugin-google-fonts`,
      options: {
        fonts: [
          `open sans\:400`,
          'open sans:400i',
          `open sans\:700`,
          'open sans:700i',
          `open sans\:800`,
          'open sans:800i',
        ],
      },
    },
    {
      resolve: 'gatsby-source-shopify',
      options: {
        shopName: `Bumples`,
        accessToken:`212f349766c267ccb93ebcef79e471ea`,
        apiVersion: '2020-10',
  
      },
    },

    `gatsby-plugin-react-helmet`,
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `images`,
        path: `${__dirname}/src/images`,
      },
    },

    `gatsby-transformer-sharp`,
    `gatsby-plugin-sharp`,

    {
      resolve: `gatsby-plugin-manifest`,
      options: {
        name: `gatsby-starter-default`,
        short_name: `starter`,
        start_url: `/`,
        background_color: `#663399`,
        theme_color: `#663399`,
        display: `minimal-ui`,
        icon: `src/images/gatsby-icon.png`,
      },
    },
  ],
};
  
jason
{
  "name""gatsby-starter-default",
  "private"true,
  "description""A simple starter to get up and developing quickly with Gatsby",
  "version""0.1.0",
  "author""Kyle Mathews <mathews.kyle@gmail.com>",
  "dependencies": {
    "axios""^0.20.0",
    "babel-plugin-styled-components""^1.11.1",
    "braces""^3.0.2",
    "dotenv""^8.2.0",
    "gatsby""^2.24.83",
    "gatsby-image""^2.4.21",
    "gatsby-optional-chaining""^1.0.1",
    "gatsby-plugin-google-fonts""^1.0.1",
    "gatsby-plugin-manifest""^2.4.34",
    "gatsby-plugin-offline""^3.2.33",
    "gatsby-plugin-react-helmet""^3.3.14",
    "gatsby-plugin-sharp""^2.6.42",
    "gatsby-plugin-styled-components""^3.3.14",
    "gatsby-source-filesystem""^2.3.34",
    "gatsby-source-shopify""^3.3.1",
    "gatsby-transformer-sharp""^2.5.17",
    "netlify-lambda""^2.0.1",
    "node-fetch""^2.6.1",
    "prop-types""^15.7.2",
    "query-string""^6.13.6",
    "react""^16.12.0",
    "react-dom""^16.12.0",
    "react-helmet""^6.1.0",
    "react-icons""^3.11.0",
    "shopify-buy""^2.11.0",
    "shopify-verify-webhook""^1.0.0",
    "styled-components""^5.2.0",
    "styled-reset""^4.2.3"
  },
  "devDependencies": {
    "prettier""2.1.2"
  },
  "keywords": [
    "gatsby",
    "shopify",
    "ecommerce",
    "store",
    "shop"
  ],
  "license""0BSD",
  "scripts": {
    "build""gatsby build",
    "develop""gatsby develop",
    "format""prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
    "start""npm run develop",
    "serve""gatsby serve",
    "clean""gatsby clean",
    "test""echo \"Write tests! -> https://gatsby.dev/unit-testing\" && exit 1"
  },
  "repository": {
    "type""git",
  },
  "bugs": {
  }
}
Thanks Jen

 

 

0 Likes