GatsbyStorefront / gatsby-theme-storefront-shopify

Create a Shopify store with Gatsby JS 🛍️ 🛒

Home Page:https://gatsbystorefront.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't build project properly

chanmathew opened this issue · comments

Hey guys,

When I follow the instructions to setup the project I keep running into this error:
Cannot query field "allShopifyShopPolicy" on type "Query"

I also don't see any layout or theme files, are the setup instructions outdated?

Here's the steps I took:
gatsby new store gatsbystorefront/gatsby-starter-storefront-shopify
cd store
npm install @gatsbystorefront/gatsby-theme-storefront-shopify
Setup the env config.
Made sure the theme was enabled in the plugins.

However when I run gatsby develop it fails with that error message, and also I don't see any theme files?

commented

Hi @chanmathew ,

commented

@chanmathew to modify theme you need to use shadowing (https://www.gatsbyjs.org/docs/themes/shadowing/). See the theme files here and use shadowing to override what you need to.

@paveli

We had trouble processing your request. Please try again later.

@paveli

We had trouble processing your request. Please try again later.