-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to perform the initial theme synchronisation. #5016
Comments
Same issue here (Mac OS Sequoia 15.1.1). Also tried to:
Sometimes I manage to sync some files and see my local preview, than it stops also if I do not save or make any change. Otherwise I'm having the error posted above immediately. This is occurring since 2 days now (Monday morning). |
Can you rerun with the Seems to be working for me so there might be a problem with your theme/store or something. |
Had same issue here. Downgrading to 3.68 worked for me. Make sure you uninstall the package globally then install it with
|
@charlespwd this is the output that I get on running with the --verbose flag: With request headers:
to https://levis-india-store.myshopify.com/admin/api/2024-10/graphql.json |
Also happened for me, had to downgrade. |
Also happened for me same issue |
this worked for me too. Thanks a lot. |
Even downgrading to 3.68 doesn't help in my case.
…________________________________
From: Dileep Ponna ***@***.***>
Sent: Friday, December 6, 2024 7:18 PM
To: Shopify/cli ***@***.***>
Cc: Anand Singh ***@***.***>; Author ***@***.***>
Subject: Re: [Shopify/cli] Failed to perform the initial theme synchronisation. (Issue #5016)
Had same issue here. Downgrading to 3.68 worked for me. Make sure you uninstall the package globally then install it with
npm install -g @shopify/cli@<version>
this worked for me too. Thanks a lot.
—
Reply to this email directly, view it on GitHub<#5016 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFQVJABXUHCIEL6RQO6YC532EGTK5AVCNFSM6AAAAABS7OPKQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRTGI4TGNRXGM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi team,
This is the error that I get when downgrading to 3.68 and trying to upload the assets:
"Error: Upload failed, could not reach the server
at bulkUploadThemeAssets ***@***.***/cli/dist/index.js:145206:11)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async handleBulkUpload ***@***.***/cli/dist/index.js:148759:17)
at async uploadBatch ***@***.***/cli/dist/index.js:148749:9)
at async Promise.all (index 43)
at async Promise.all (index 1)"
I tried accessing the index.js file where I see that I get the status of "404" while trying to upload my assets.
Hope to hear from you soon.
Thanks,
Anand
…________________________________
From: Dileep Ponna ***@***.***>
Sent: Friday, December 6, 2024 7:18 PM
To: Shopify/cli ***@***.***>
Cc: Anand Singh ***@***.***>; Author ***@***.***>
Subject: Re: [Shopify/cli] Failed to perform the initial theme synchronisation. (Issue #5016)
Had same issue here. Downgrading to 3.68 worked for me. Make sure you uninstall the package globally then install it with
npm install -g @shopify/cli@<version>
this worked for me too. Thanks a lot.
—
Reply to this email directly, view it on GitHub<#5016 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFQVJABXUHCIEL6RQO6YC532EGTK5AVCNFSM6AAAAABS7OPKQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRTGI4TGNRXGM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Nope, getting this error with 3.71.4:
Failed to perform the initial theme synchronization. │
│ │
│ │
│ The Admin GraphQL API responded unsuccessfully with errors: │
│ │
│ [ │
│ { │
│ "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: │
│ b4ea74c0-b84f-4951-b962-c68698e76745-1733834498 (include this in support requests).", │
│ "extensions": { │
│ "code": "INTERNAL_SERVER_ERROR", │
│ "requestId": "b4ea74c0-b84f-4951-b962-c68698e76745-1733834498" │
│ } │
│ } │
│ ] │
│ │
│ Request ID: b4ea74c0-b84f-4951-b962-c68698e76745-1733834498
…________________________________
From: Fran Dios ***@***.***>
Sent: Tuesday, December 10, 2024 8:32 AM
To: Shopify/cli ***@***.***>
Cc: Anand Singh ***@***.***>; Author ***@***.***>
Subject: Re: [Shopify/cli] Failed to perform the initial theme synchronisation. (Issue #5016)
│ Failed to perform the initial theme synchronization. │
│ Asset must have a value or attachment │
Hi 👋 This seems to be similar to #5010<#5010>
Can you try with the last patch release 3.71.4? It should be fixed there if it's the same problem 🤞
—
Reply to this email directly, view it on GitHub<#5016 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFQVJABMQZAQLGZWFAQXVX32EZKT3AVCNFSM6AAAAABS7OPKQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZQGEZTKOJUG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I flush my dns and windows:
|
Following worked for me
|
I am having this same issue and I have systematically downgraded to every version from latest down to 3.68.1 and no luck. Adding on to this. The problem seems to stem from the fact that I am doing work on multiple stores as if I go to the store I had previously been making changes the |
Hi team,
Downgrading the cli to 3.72.0, reinstalling the IDE and reinstalling the Shopify configuration requirements worked. Thankyou for the support.
…________________________________
From: Chirag Ramjibhai Patel ***@***.***>
Sent: Thursday, January 9, 2025 9:16 PM
To: Shopify/cli ***@***.***>
Cc: Anand Singh ***@***.***>; Author ***@***.***>
Subject: Re: [Shopify/cli] Failed to perform the initial theme synchronisation. (Issue #5016)
Following worked for me
npm uninstall -g @***@***.***
npm install -g @***@***.***
—
Reply to this email directly, view it on GitHub<#5016 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFQVJAHDK6QDRFUBNASE2YL2J2KXFAVCNFSM6AAAAABS7OPKQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBQGYYTGMZTG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi All, I am currently suffering from this same issue. While the CLI initially connects and displays the success message (including theme preview, customize, and share links), it abruptly shuts down with the following error message:
Steps Taken:
Environment:
Additional Info:
Could you please help me resolve this issue or provide guidance on how to proceed? I am happy to provide additional details if needed. Thank you for your assistance! Best regards, |
Tried above steps of downgrading but issue still happening for me. |
What worked for me was removing my development theme by using the following command: |
Brilliant! This worked for me as well. I wish I'd though of it! I get a new error now, but I'm able to get around it with sudo. |
I've managed to get around it for now by working on an development store instead of a client store. |
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
Running shopify theme dev --store "store-name" should open up a preview for my development theme.
Actual behavior
Verbose output
Verbose output
Reproduction steps
Operating System
Windows 10 Pro
Shopify CLI version (
shopify --version
)3.70.0
Shell
No response
Node version (run
node -v
if you're not sure)v22.11.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: