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
Sanity GraphQL Deploy: "ReferenceError: URL is not defined" error17Jun 10, 2023
Unable to scroll after selecting type with array input in Sanity 3.2.64May 31, 2023
Error deploying GraphQL after schema updates with `sanity graphql deploy`28May 30, 2023
Vercel build fails: Cannot find module '@sanity/cli' in sanity.cli.ts4Feb 25, 2023
Singleton document migration fails with "references non-existent document" error34Jan 19, 2023
Error: sanity.cli.js missing required api.projectId configuration33Dec 13, 2022
Does Sanity dataset import have a long post-processing step at 99%?13Nov 24, 2022
Sanity compile error after macOS 13 upgrade: floating-ui.dom.esm.js parse failed8Nov 23, 2022
Sanity 2.35.0 upgrade error: Can't resolve '@reach/utils/use-isomorphic-layout-effect5Oct 24, 2022
Image edit button disappears after re-uploading until page refresh20Oct 17, 2022
Can't run Sanity Studio after recent changes31Oct 4, 2022
Not a member of this project" error after sanity init and login15Sep 28, 2022
Cannot delete translation document due to self-reference from base document17Sep 22, 2022
Dataset import not reflecting in Sanity Studio after CLI deployment15Sep 14, 2022
Sanity Studio missing projectId despite .env.development configuration12Aug 31, 2022
How to delete bulk documents from Sanity using CLI or Vision?28Aug 23, 2022
How to import a Jekyll blog to Sanity?34Aug 18, 2022
How to Export Dataset in a JSON File7Aug 15, 2022