Joint session with Vercel: How to build intelligent storefronts (May 15th)

Netlify build error with sanity-nextjs-landing-pages starter

10 repliesLast updated: Dec 1, 2025

hi all - not sure if this is the right place for this, but was trying out the
sanity-nextjs-landing-pages
starter and got an error during the initial netlify build of the front-end
AI Update

I can see you're running into build errors with the sanity-nextjs-landing-pages starter on Netlify. Build errors with older Sanity starters are unfortunately quite common, typically due to dependency conflicts and outdated packages that don't play well with current build environments.

Troubleshooting your current setup

If you want to continue with this specific template, the Netlify build error is likely caused by:

You can try setting the Node.js version explicitly in Netlify by adding a .nvmrc file to your repo or setting the NODE_VERSION environment variable in your Netlify dashboard.

Consider using current templates instead

Rather than debugging an older template, I'd recommend starting with one of Sanity's actively maintained starters. According to the official Sanity templates page, there are over 100 official templates and 1,200+ community templates available, including:

You can browse all available templates at sanity.io/templates and filter by framework, use case, and features.

Why modern templates matter

Starting with a current template means:

If you need specific help with the exact error message you're seeing, sharing the full error output in the Sanity Slack community would help folks provide more targeted debugging advice!

Show original thread
10 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions