-
Notifications
You must be signed in to change notification settings - Fork 125
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
[Bug]: shopify theme dev
is losing track of the development theme
#3715
Comments
This has been a huge pain all day today. Not sure what's going on, but its made it basically impossible to reliably build things with the session re-assignment happening |
Getting the same issue, started a few days ago. This problem has come up in the past and was resolved with an update. It's really frustrating. When running The only way I can keep working is to do so within the theme editor. |
Still having the same issue since a couple of days. Tried to delete the development theme with |
Here's how I'm working around it: shopify theme list Find your development theme in the list shopify theme delete -t {ID of your development theme} Run Agree this whole issue has been a pain in the a**. Shopify pushed a new CLI update today which now shows a new warning:
|
@karreiro emailed you a few examples of this - came here to find you've already flagged it! appreciate all your help here |
another example: #3794 |
Thank you for sharing that context in the email, @davidhollenbeckx! That not only helps the team understand the issue itself, but it also helps us understand how developers use CLI in their workflows. For anyone experiencing this problem, you can adopt the following steps as a temporary workaround:
As soon as we get this fixed, we will update this issue. Thanks everyone for reporting this problem. |
@karreiro Using v3.59.2, I am continuing to see theme mismatch problems. Not sure if this is the same issue or something new. The correct dev theme is usually loaded when first running |
@karreiro This is definitely not fixed. See here: https://shopifypartners.slack.com/archives/CKQTKDZV2/p1714579081291059 |
seeing this issue again with version 3.64.1 and 3.64 @karreiro step 1: shopify theme dev |
Hi @nboliver-ventureweb and @davidhollenbeckx. Thanks for reporting this issue, we need some more information in order to investigate further. We have tried to recreate it on our end but have not been able to reproduce the bug. Please see the screen recording showing the latest version of the CLI working as expected: dev.mp4
If anyone else is having this issue, feel free to provide the requested information as well. Thanks in advance |
@lukeh-shopify definitely still an issue. Deleting the dev theme and starting fresh seems to fix it for a while at least. Shopify CLI Version 3.64.1 CLI Output
|
@lukeh-shopify the issue will kick in after making a change to the theme and refreshing. there are loads of reproductions and logs in this thread. also worth nothing it tends to show up randomly after a dev theme has been around for a bit - like, day two of a new theme build, I'll pull up the project to start working on it and the bug will appear again. next time it happens I'll screen record I'm curious if you & the rest of the team at Shopify are testing this from a special shopify staff account, or if you've tried to reproduce in a regular vanilla partner account. last time this bug came up Shopify staff had a really hard time reproducing it even though thousands of partners were affected. also not that it should matter, but I'm on the most recent version of the CLI with node 20. unix terminal |
👋 Hey @tpage99, thanks a lot for sharing the video and the request IDs. We've been able to reproduce a scenario similar to the one you shared, and we've changed how Could you please retry using the most recent version of Shopify CLI ( I'm going to wait for your feedback before closing this one, because while I was able to reproduce a similar problem, I can't reproduce using the exact same steps since I can't use your store. Thank you for reporting this. |
Thanks @karreiro! This looks to have been resolved, or at least initially here pulling in and working on a handful of themes across different shops I'm not getting the issue. Seems to be working as intended! Thanks so much for working on this 🙏 |
i am facing same issue but not in local environment but on live. i have other themes in my theme library and when i preview it, it giving me live site preview. |
In which of these areas are you experiencing a problem?
Theme
Expected behavior
When users run
shopify theme dev
, a development theme should be created and assign as[yours]
(your development theme should never be re-assigned).Actual behavior
When users run
shopify theme dev
, the development theme seems to be re-assigned and in some contexts the CLI is election even non-development themes.The text was updated successfully, but these errors were encountered: