Answers from the community about Next

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 preview mode not returning draft posts in Next.js 13 app directory17May 31, 2023
Why isn't my .env.local file working in Next.js with Sanity?6May 28, 2023
How to turn Sanity + Next.js project into reusable template?5May 24, 2023
Vercel deployment fails with "npm run build" exit code 1 error4May 23, 2023
Cannot read properties of undefined (reading 'config') running Sanity Studio2May 22, 2023
Help needed with an error in Next.js and Sanity.io integration tutorial.20May 12, 2023
Clarifying NextJS SSG build with localisation and resolving %2F issue6Feb 27, 2023
Troubleshooting deployment issues with Sanity + NextJS on Azure web app29Feb 26, 2023
Error with installing seo plugins due to lodash-es module not found3Feb 22, 2023
Reusable GROQ query strings in Next.js app9Feb 22, 2023
Build Error: Cannot read properties of null (reading 'mainImage') in Sanity10Feb 19, 2023
Issue with client.fetch not being a function in Next.js and Sanity.io integration8Feb 16, 2023
Troubleshooting EISDIR error when building Next.js website on Windows29Feb 13, 2023
Increment likesCount in Sanity dataset via API mutation8Feb 6, 2023
Best Tech Stack for Next.js LMS with Blog, Courses, and PayPal Integration5Feb 6, 2023
Help needed with Next.js and Sanity integration, getting 404 error and build error11Feb 2, 2023
GROQ query syntax error: missing closing brace in object body7Jan 16, 2023
CSS and Images Not Loading on Next.js App23Jan 14, 2023