Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

Answers from the community about CLI

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

TopicCategoriesFeaturedRepliesLast Updated
Understanding the difference between a locally run and deployed Sanity installation in React.4Mar 9, 2021
Hosting Sanity + Next.js Project on Vercel - Monorepo or One Project?3Feb 23, 2021
How to unset a reference in Sanity CMS when there is no earlier version to restore.26Feb 17, 2021
My project using next.js ecommerce starter is not running locally7Feb 2, 2021
i can't delete any documents from my studio right now 🤔 when i click delete, nothing happens, not even a console error13Feb 2, 2021
Has anyone been able to get studio to work with sanity-ui? I've tried 0.32.8 with base 2.2.5 and get errors attributed to...5Jan 30, 2021
I’m experiencing an error when trying to deploy `sanity graphql deploy` and getting this error point towards a node_module ```import...18Jan 16, 2021
Does anyone get this error? I have had this problem for a while now and I’m not sure how to resolve it: ``` ╰─ sudo npm...4Jan 13, 2021
I get this error when trying to run a Sanity Studio ```Uncaught TypeError: Cannot read property 'sanity' of undefined```12Jan 12, 2021
Hi everyone. I'm new to using Sanity and having a bit of an issue with local development, and wondering if someone is able...9Dec 29, 2020
I’m hoping to use Sanity as an earlier part of our design and prototyping workflow. Are there any techniques or plugins...8Dec 15, 2020
Techniques for creating and populating Sanity schemas with example content using Faker.js and CLI.7Dec 15, 2020
How to delete all docs of a specific doc type via cli?4Nov 13, 2020
How to set studio hostname via API?8Nov 13, 2020
Next.js - How to Test a Build Locally to Detect Differences4Nov 10, 2020
Is it possible to make sanity cli use npm rather than yarn?4Oct 14, 2020
Issue with deploying GraphQL in Sanity/Gatsby tutorial, resolved with updated script11Sep 23, 2020
Error: You must login first - run "sanity login" at Object.apiClient5Sep 20, 2020