Answers from the community about Deploy

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
Vercel "No Output Directory named 'dist' found" error with Sanity + NextJS4Aug 8, 2022
sanity deploy fails with missing projectId error in v3 despite sanity.cli.js9Jun 17, 2024
HTTP 401 error when running "sanity graphql deploy" command5Feb 26, 2024
Sanity Navigation Empty on Vercel Deploy but Works in Dev - Network Error9Oct 10, 2023
How to deploy embedded Sanity Studio?15Aug 23, 2023
Sanity GraphQL Deploy: "ReferenceError: URL is not defined" error17Jun 10, 2023
How to reconnect VS Code to existing Sanity dataset without wiping data?24Mar 9, 2023
Sanity GitHub Action failing with Node 14 instead of Node 162Feb 22, 2023
Vercel Build Failure: Cannot read properties of undefined (reading 'title')8Nov 13, 2022
Netlify build error with sanity-nextjs-landing-pages starter11Oct 21, 2022
Image edit button disappears after re-uploading until page refresh20Oct 17, 2022
How to set up staging and production environments in Sanity Studio?14Sep 28, 2022
Sanity comments not working on deployed Next.js site (works locally)14Sep 7, 2022
Configure Sanity CORS for Vercel deployment without preview URL4Aug 12, 2022
Gatsby GraphQL returns null for Sanity reference array field (skills)6Jul 22, 2022
Netlify IP hitting Sanity API rate limits despite team plan allowance - workarounds?16Jul 20, 2022
Can I create custom API endpoints in Sanity to execute server-side code?8Jul 19, 2022
Unable to Deploy to Netlify After Upgrade - npm ERR! code ERESOLVE17Jul 12, 2022