Can’t run on shopify theme dev mode with the cli, debugging AggregateError

Hey guys,

Context: shopify app dev runs fine, but shopify theme dev doesn’t work it ends up with an error. I tried updating shopify packages but nothing was solved, tried the shopify theme dev –legacy and couldn’t run it as well.

I’'m running on Ubuntu linux, node version v20.11.1, git version 2.49.0, shopify version 3.79.1 and npm version 10.2.4
but then I meet this error and my command get canceled out:

AggregateError
at internalConnectMultiple (node:net:1114:18)
at internalConnectMultiple (node:net:1177:5)
at Timeout.internalConnectMultipleTimeout (node:net:1687:3)
at listOnTimeout (node:internal/timers:575:11)
at process.processTimers (node:internal/timers:514:7)

I tried shopify auth logout, checked the shopify cli requirements, my packages versions are fitting the requirements, so I really don’t know what to do to fix this issue.
would really appreciate any help or advise on this issue.
Thanks

PS: I added a screenshot as well.

Hi - if you try with a different theme and store, are you still seeing this issue?

Hey @Liam-Shopify thanks for replying, I tried it this morning on the same store first before trying it on a different theme and store like you advised, and it worked from the first try, on the same store and the same theme.
Really weird, because yesterday I couldn’t make it work for the whole afternoon, Shopify servers were up yesterday, so don’t know where it could come from.
I’m using the same internet connection.

really weird, did anyone had the same issue? is it something that comes and goes just like that?