Answers from the community about Vercel

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 build fails: Cannot find module '@sanity/cli' in sanity.cli.ts4Feb 25, 2023
Sanity deployment to Vercel failing with multiple errors18Feb 16, 2023
Issue with importing Sanity in a Next.js app when deploying to Vercel.10Jan 27, 2023
Vercel Build Failure: Cannot read properties of undefined (reading 'title')8Nov 13, 2022
Sanity API Error on Vercel: Invalid character in authorization header4Nov 2, 2022
Sanity studio changes not reflecting on production website without redeployment5Sep 30, 2022
How to set up staging and production environments in Sanity Studio?14Sep 28, 2022
Sanity mutation failed: Insufficient permissions for create with editor token14Sep 19, 2022
How to sync user documents on studio load with custom desk structure?15Sep 13, 2022
Sanity comments not working on deployed Next.js site (works locally)14Sep 7, 2022
Sanity Studio missing projectId despite .env.development configuration12Aug 31, 2022
PortableText 'Li' JSX component type error fix34Aug 25, 2022
Configure Sanity CORS for Vercel deployment without preview URL4Aug 12, 2022
Can I create custom API endpoints in Sanity to execute server-side code?8Jul 19, 2022
Sanity Next.js starter preview mode "Session not found" error troubleshooting4Jul 11, 2022
Sanity Studio incompatible with React 17 error after previously working31Jul 7, 2022
Module not found: Can't resolve '@sanity/client' and 'groq' on Vercel deploy2Jun 16, 2022
HULL template: Shopify products not syncing and Vercel deployment issues11Jun 15, 2022