Giter VIP home page Giter VIP logo

Comments (3)

Balance8 avatar Balance8 commented on May 16, 2024

I have been following the step-by-step guide to the T; however, there is one discrepancy between the guide and the onboarding flow.

During Sanity's initialization, it will warn you, type Y and hit enter:
? The current folder contains a configured Sanity studio. Would you like to reconfigure it? (Y/n)
When it asks you what dataset configuration to use, go with the default.

This is where I believe there may be a configuration error with the template.

When you run sanity init, I get these results
image

There is no default option other than create a new database or production

I selected production as setting up a new database leads to having no products in sanity.

This then leads to another strange occurrence:
image

It seems the sanity is trying to deploy to the production branch on the repo instead of my own repo.

I suggest that there may be some error occurring during the sanity auto-setup, which is why I am getting the conflict - duplicate origin already exists for this project

from hull.

Balance8 avatar Balance8 commented on May 16, 2024

I improperly assumed the demo data would sync to Shopify, whereas the opposite occurs, I need to create products in shopify which then sync to sanity

from hull.

ndimatteo avatar ndimatteo commented on May 16, 2024

Hey there @Balance8 I know we resolved this in the Sanity Slack, but just to recap for anyone else perusing:

  1. The deployment error you're seeing is due to a duplicate CORS entry on Sanity. It does not mean the process failed (despite how it looks). This should be fixed now for the automatic setup route regardless.
  2. Products are synced from Shopify -> Sanity (not the other way around, aside from some basic image syncing).
  3. The 401 error is because it's trying to do an inventory check for one of the demo products with your connected Shopify store. As the error indicates, your Shopify store does not have that demo product (the ID), which is expected. I highly suggest deleting all demo products and associated variants from Sanity once connecting your own Shopify account.

Feel free to reach back out if you run into any other issues or questions! 🤘

from hull.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.