Comments (3)
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
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:
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.
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.
Hey there @Balance8 I know we resolved this in the Sanity Slack, but just to recap for anyone else perusing:
- 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.
- Products are synced from Shopify -> Sanity (not the other way around, aside from some basic image syncing).
- 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)
- floating-ui.dom.esm.js sanity build issue HOT 6
- Project decisions HOT 2
- Product data changes not geting properly synced to Sanity if there's another product with same slug HOT 5
- Order Status Domain HOT 1
- The Desk tool crashed: Error: Cannot resolve a DOM node from Slate node HOT 2
- Automatic build failed [2] HOT 1
- Is it true that you have to redeploy every time a product is added? HOT 4
- Sanity CLI v3 causes project to not work correctly HOT 1
- GBP Cart Subtotals
- Sanity not connecting to Storefront HOT 2
- Products not appearing in Sanity—how to bring them over? HOT 1
- Bundles created with the Shopify App (Summer 2023) can't be added to cart HOT 11
- Mobile Crashes When Interacting On Page HOT 6
- marketing starter upgrade packages HOT 1
- Client-side exception HOT 7
- unknown field found
- Sync seems inconsistent HOT 1
- Can't locate Sanity Starter HOT 1
- Not able to Import Shopify Products into sanity Studio
- Application error: a client-side exception has occurred (see the browser console for more information). HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hull.