🎤 Builder Talk: The Story Behind Lady Gaga’s Digital Experience – Register now

```Got this error and studio won't start up at all.. have no idea where it can come from either: sanity-gatsby-blog-studio: events.js:174 sanity-gatsby-blog-studio:...

3 replies
Last updated: Jan 24, 2021
Got this error and studio won't start up at all.. have no idea where it can come from either:
sanity-gatsby-blog-studio: events.js:174
sanity-gatsby-blog-studio:       throw er; // Unhandled 'error' event
sanity-gatsby-blog-studio:       ^
sanity-gatsby-blog-studio: Error: listen EADDRINUSE: address already in use 127.0.0.1:3333
sanity-gatsby-blog-studio:     at Server.setupListenHandle [as _listen2] (net.js:1279:14)
sanity-gatsby-blog-studio:     at listenInCluster (net.js:1327:12)
sanity-gatsby-blog-studio:     at GetAddrInfoReqWrap.doListen [as callback] (net.js:1460:7)
sanity-gatsby-blog-studio:     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:61:10)
sanity-gatsby-blog-studio: Emitted 'error' event at:
sanity-gatsby-blog-studio:     at emitErrorNT (net.js:1306:8)
sanity-gatsby-blog-studio:     at process._tickCallback (internal/process/next_tick.js:63:19)
sanity-gatsby-blog-studio: npm ERR! code ELIFECYCLE
sanity-gatsby-blog-studio: npm ERR! errno 1
sanity-gatsby-blog-studio: npm ERR! sanity-gatsby-blog-studio@1.0.13 dev: `sanity start`
sanity-gatsby-blog-studio: npm ERR! Exit status 1
sanity-gatsby-blog-studio: npm ERR! 
sanity-gatsby-blog-studio: npm ERR! Failed at the sanity-gatsby-blog-studio@1.0.13 dev script.
sanity-gatsby-blog-studio: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
sanity-gatsby-blog-studio: npm ERR! A complete log of this run can be found in:
Jan 23, 2021, 11:19 PM
Looks like it’s already running or that something else is serving from port 3333
Jan 24, 2021, 3:24 AM
Pro-tip: If you 're on macOS, you can run
lsof -ti :3333 | xargs kill -9
to close the process on port 3333. Sometimes it can hang in there even if you quit the terminal.
Jan 24, 2021, 8:33 AM
Pro-tip: If you 're on macOS, you can run
lsof -ti :3333 | xargs kill -9
to close the process on port 3333. Sometimes it can hang in there even if you quit the terminal.
Jan 24, 2021, 8:33 AM

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?

Related answers

Get more help in the community Slack

TopicCategoriesFeaturedRepliesLast Updated
How to turn PortableText into plain text in Javascript?Dec 7, 2020
DOMParser is not defined at defaultParseHtmlDec 3, 2020
Next.js and Vercel - Error! No Output Directory named "dist" foundAug 8, 2022
Custom Document Views - Is it Even Possible to Use the Structure Builder?Apr 21, 2022
GraphQL query resolving references on a _raw field in GatsbyMay 17, 2022
Hi all! Does anyone have problem on deoplloying on Vercel (Using Next. js as a frontend)? I have two test projects, andonce...Jan 25, 2021
Issue with compiling studio, resolved by nuking node_modules and installing with `sanity install`Aug 21, 2020
How to Disallow Robots on a SubdomainNov 12, 2020
Issue setting value of JSON field with document action in Sanity StudioApr 22, 2020
Error querying data from Sanity API in Gatsby componentMay 10, 2020

Related contributions

Turbo Start Sanity
- Template

The battle-tested Sanity template that powers Roboto Studio's websites

Go to Turbo Start Sanity

Schema UI - Next.js Sanity Starter
- Template

A Next.js starter template with Next.js 15, Tailwind CSS, shadcn/ui, and Sanity CMS with Live Editing. Get production-ready React components with matching Sanity schemas and queries. Build dynamic pages faster while keeping full control over customization.

Serge Ovcharenko
Go to Schema UI - Next.js Sanity Starter

The Swaddle
- Made with Sanity

A new brand identity to represent a more mature company, to signify The Swaddle’s evolution from publisher to production house, combined with an easier to navigate platform that can surface multiple content types - drawing readers through The Swaddle’s content offering.

Nightjar
Go to The Swaddle