🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

Issue with initializing a new Sanity Studio instance in a Monorepo using pnpm

2 replies
Last updated: Jun 9, 2023
Hi all, just wondering if anyone has encountered the following recently. I just when to initialise a new Sanity Studio instance within a Monorepo (Turborepo) using
pnpm
as the package manager.
Once running
pnpm create sanity@latest
and following the setup, and then attempting to run
pnpm run dev
I run into the above error when visiting localhost:3333
Jun 9, 2023, 12:58 PM
Hmm, just installed
@codemirror/theme-one-dark
globally and it's done the trick, must be something
pnpm
related.
Jun 9, 2023, 2:17 PM
Hmm, actually I take this back that wasn't a quick fix for local dev
Jun 9, 2023, 4:22 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?