Unlock seamless workflows and faster delivery with our latest releases – get the details

Issue with "sanity.json" file not found in plugin "@sanity/vision"

5 replies
Last updated: Jan 13, 2023
Hey all, I'm trying to start a new monorepo with next, and when trying to run sanity start for the first time I'm getting the following, even though I have a sanity.json file. How can I fix this?

Error: No "sanity.json" file found in plugin "@sanity/vision"
Jan 13, 2023, 4:06 PM
Hey User, I’ve had a similar issue. I think I resolved mine by checking if the major version of
@sanity/vision
plugin and
sanity
were matching.
Jan 13, 2023, 5:31 PM
You mean @sanity/base right?
Jan 13, 2023, 5:32 PM
    "@sanity/base": "^2.35.2",
    "@sanity/core": "^2.35.0",
    "@sanity/default-layout": "^2.35.2",
    "@sanity/default-login": "^2.35.2",
    "@sanity/desk-tool": "^2.35.2",
    "@sanity/eslint-config-studio": "^2.0.1",
    "@sanity/vision": "^3.2.3",
Jan 13, 2023, 5:32 PM
Yeah, I think the issue here is that you have
@sanity/vision
=> 3.x, downgrade the vision plugin and it should work properly.
Jan 13, 2023, 5:34 PM
That worked!! thanks mate
Jan 13, 2023, 5:40 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?