Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

Error deploying new version of graphql API due to missing Sanity studio file

2 replies
Last updated: May 30, 2023
Hi! I'm trying to deploy a new version of the graphql API, but I get this error
Error: Expected Sanity studio of version 3 or above
These are the versions I'm using:

@sanity/cli           3.11.3 (up to date)
@sanity/dashboard      3.1.4 (up to date)
@sanity/icons          2.3.1 (up to date)
@sanity/vision        3.11.3 (up to date)
sanity                3.11.3 (up to date)
Does anyone know what this problem means, or how to solve it?
May 26, 2023, 12:22 PM
What does your cli config look like?
May 26, 2023, 7:01 PM
Looks like I was missing a
sanity.cli.js
file, I've added it and it's now working. It's not clear from the docs that it's required though (unless I missed something).Thanks for the help!
May 30, 2023, 3:18 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?