Skip to content
Writing Room

Troubleshooting

View as Markdown

“The Writing Room can’t start in this Studio yet.” The room and the Studio are using different copies of Sanity’s App SDK. On a deployed Studio, turn off auto-updates (Install, step 3) and deploy again. In sanity dev, run npm ls @sanity/sdk-react: it should appear at a single version. If you’ve linked the plugin (npm link, file:, a workspace) instead of installing it, add sanity, react, react-dom, styled-components, @sanity/sdk-react and @portabletext/editor to Vite’s resolve.dedupe in sanity.cli.ts.

Yarn, or two copies of the SDK. npm (7+) and pnpm install the plugin’s peer dependencies for you, and share @sanity/sdk-react and @portabletext/editor with Sanity when your sanity version is in range. Yarn doesn’t install peers: add @sanity/sdk-react@^3.12.0 and @portabletext/editor@^8.2.12 yourself. To check, run npm ls @sanity/sdk-react @portabletext/editor: each should appear at a single version.

A type is missing from the Lobby. Open the browser console: the room says why it left a type out (not in the schema, or no title or body it could find). Name the field with fields if it guessed wrong.