[Bug]: Error: listen EADDRINUSE: address already in use 127.0.0.1:9292
Please confirm that you have:
- [x] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
- [x] Reproduced the issue in the latest CLI version.
In which of these areas are you experiencing a problem?
Theme
Expected behavior
Since the latest verson.. (3.76.2) the CLI doesn't some to shutdown cleanly anymore - after I close down my terminal,, the node.js instance still shows within Task Manager, whenever I attempt to start a new instance of shopify theme dev I get the error shown in the title.
I have to kill the process in task manager before I can start another.
Actual behavior
CLI Shows an error of..
Error: listen EADDRINUSE: address already in use 127.0.0.1:9292 at Server.setupListenHandle [as _listen2] (node:net:1937:16) at listenInCluster (node:net:1994:12) at node:net:2203:7 at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
Verbose output
Verbose output
2025-03-24T15:16:26.027Z: Sending "Admin" GraphQL request: mutation themeFilesUpsert($files: [OnlineStoreThemeFilesUpsertFileInput!]!, $themeId: ID!) { themeFilesUpsert(files: $files, themeId: $themeId) { upsertedThemeFiles { filename __typename } userErrors { filename message __typename } __typename } }With variables: { "themeId": "gid://shopify/OnlineStoreTheme/177992204665", "files": [ { "filename": "layout/password.liquid", "body": { "type": "TEXT", "value": "{{ content_for_header }}{{ content_for_layout }}" } } ] }
With request headers:
- User-Agent: Shopify CLI; v=3.76.2
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
to https://cw-sellor-test.myshopify.com/admin/api/2025-01/graphql.json Error: listen EADDRINUSE: address already in use 127.0.0.1:9292 at Server.setupListenHandle [as _listen2] (node:net:1937:16) at listenInCluster (node:net:1994:12) at node:net:2203:7 at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
Reproduction steps
- Setup the CLI with version 3.76.2 and node version 23.0.9
- Run shopify theme dev, now close the terminal
- Run it again
Operating System
Windows 11
Shopify CLI version (shopify --version)
3.76.2
Shell
Git Bash
Node version (run node -v if you're not sure)
23.9.0
What language and version are you using in your application?
N/A
I haven't run into this issue for a while now, so I wonder if it was specific to myself 🤷
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.