cli icon indicating copy to clipboard operation
cli copied to clipboard

Failed to perform the initial theme synchronization.

Open DevjOrtiz opened this issue 8 months ago • 3 comments

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

I should be able to make changes and see them updated on my local server.

Actual behavior

I'm having a problem with the connection and with my local project using the Shopify CLI. It was working correctly a couple of days ago, but something happened that prevented me from working properly, as I'm getting the following error: "Failed to perform the initial theme synchronization." When trying to use the Shopify theme dev -s "store" command, I tried deleting the CLI, reinstalling it, clearing the cache, and disabling the firewall. Nothing works.

node v20.10.0 shopify version 3.78.1

Image

Verbose output

Verbose output
Paste the output here!

Reproduction steps

Operating System

Windows 10

Shopify CLI version (shopify --version)

3.78.1

Shell

No response

Node version (run node -v if you're not sure)

v20.10.0

What language and version are you using in your application?

No response

DevjOrtiz avatar Apr 20 '25 00:04 DevjOrtiz

+1 Having the same issue. Using:

  • @shopify/cli/3.78.0 darwin-arm64 node-v23.11.0
  • MacMini M4

adictonator avatar Apr 22 '25 11:04 adictonator

Same issue here. Tried to delete the dev theme but then I get a new message saying:

Theme X is missing required files. Run shopify theme delete -t X to delete it, then try your command again.

(where X is the theme ID I already deleted)

And yes I checked it was deleted before I tried to do shopify theme dev again.

binarymonkey84 avatar Apr 24 '25 13:04 binarymonkey84

Might be related to https://github.com/Shopify/cli/issues/5617

charlespwd avatar May 01 '25 16:05 charlespwd

I get this also but I just keep forcing the command until dev runs.

nbskubix avatar May 22 '25 10:05 nbskubix

Same error. I tried many different CLI versions and node versions nothing working. The webpack complies, node is fine but the CLI not synch with the local and the process exit with the same User aborted the request message as for everyone.

Image

CselikSimba avatar May 28 '25 19:05 CselikSimba

👋🏻 thanks everyone! We're merging all of the network issues into one for easier tracking: https://github.com/Shopify/cli/issues/6062

graygilmore avatar Jul 03 '25 17:07 graygilmore