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
How to send email notifications on new Sanity documents using webhooks?43Apr 5, 2022
Cannot delete document due to reference error despite document not being used19Mar 7, 2022
Parsing error: Cannot find module '@babel/preset-env' in schemas folder13Mar 5, 2022
How to set custom document ID for Sanity homepage in Next.js catch-all route?9Feb 28, 2022
BrowserslistError: Unknown browser query `dead` with updated packages7Feb 24, 2022
Troubleshooting deployment and login issues with self-hosted Sanity instance10Feb 23, 2022
Understanding and modifying an existing Sanity project without documentation11Feb 18, 2022
Issues with `i18n_lang` field in Sanity document internationalization plugin15Feb 15, 2022
Desk tool crashes when deleting last item from array field9Feb 8, 2022
Color Input Plugin Throwing Unnamed Type Error in Studio30Jan 29, 2022
Sanity CLI not working on M1 Mac with Gatsby blog starter29Jan 28, 2022
Sanity Studio: "Loading document..." indefinitely with custom structure builder9Dec 24, 2021
npm install Sanity CLI but "command not found: sanity" error12Dec 19, 2021
Using editModal fullscreen option for array of objects in Sanity9Dec 17, 2021
How to patch a specific object in an array of objects using the Sanity CLI.8Nov 24, 2021
How to set default boolean field value on existing documents via migration script?11Nov 2, 2021
Studio stuck loading when running npm run dev - what am I doing wrong?10Oct 22, 2021
Sanity commit error "e is not a function" when creating documents with Spaces11Sep 30, 2021