
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeThis error is happening because you're accidentally running Sanity Studio v2 instead of v3. The warning about @sanity/icons default export and references to @sanity/base with the parts system (part:@sanity/base/sanity-root) are telltale signs of the older v2 architecture.
Here's what's likely happening: even though you ran sanity init, your project somehow got initialized with v2 dependencies instead of v3. This can happen if you have an older version of the Sanity CLI installed globally.
To fix this:
npm install -g @sanity/cli@latest# Remove the project directory
rm -rf your-project-folder
# Create a new project with the updated CLI
sanity initnode_modules and package-lock.json (or yarn.lock)package.json to use Sanity Studio v3 dependencies (should be sanity@^3.x instead of @sanity/core and other v2 packages)npm install againHow to verify you're on v3:
package.json should have "sanity": "^3.x" as a dependency@sanity/base, @sanity/core, or @sanity/desk-tool in your dependencies (these are v2 packages)sanity.config.ts or sanity.config.js, not sanity.jsonThe issue you're seeing is that @sanity/icons removed its default export in newer versions, but v2's @sanity/ui still tries to import it the old way, causing this compatibility mismatch. Studio v3 uses the modern import structure and doesn't have this problem.
If you continue having issues after updating the CLI and reinitializing, check that you don't have any old Sanity packages cached or lingering in your global npm/yarn cache.
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.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store