Answers from the community about CLI

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Discord to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
Init Sanity project from CLI without creating files using custom template14Sep 27, 2021
Reference search fails: "Attribute name cannot be an empty string" error33Sep 8, 2021
Sanity CLI import fails with relative file paths for assets15Sep 6, 2021
How to Build a Table in Sanity: Is sanity-react-table the Right Approach?35Aug 24, 2021
Troubleshooting importing HTML content into Sanity using @sanity/block-tools4Jul 23, 2021
Setting readOnly and hidden fields with initialValue in Sanity schema25Jun 30, 2021
Netlify deployment error with Sanity-Gatsby blog starter (build script exit code 2)5Jun 16, 2021
Gatsby-source-sanity plugin not showing schema in GraphQL playground35May 21, 2021
How to fix Vercel rewrite rules for Sanity Studio?5May 5, 2021
Deploying Sanity Studio to Google App Engine - app.yaml example26May 4, 2021
How to backup and restore Sanity datasets (manual, scheduled, copy)7Apr 29, 2021
Limit array field to exactly 6 items and hide Add Item button8Apr 26, 2021
Sanity CLI: Respect yarn.lock or package-lock.json for package manager detection4Apr 15, 2021
Desk Tool crashes with "Invalid path string" error when accessing post8Apr 11, 2021
How to Download / Export All Images from Sanity3Apr 10, 2021
Sanity dataset export hangs on "Adding assets to archive" step35Apr 6, 2021
Sanity date field showing day before selected date7Apr 6, 2021
GatsbyImage with gatsby-source-sanity: Cannot read property 'split' error13Mar 25, 2021