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]: Command Shopify Theme Console not completing Auth process #3783
Comments
👋 thanks for reporting this issue, from the steps you've listed it appears you still need to enter the store password. this is required to start up |
Hey! Thanks for the response. When it loads the auth link it's opening shopify.theme.console.error.mp4 |
👋 appreciate you sharing a video! i see what you mean about auth not acting as expected, when did you start experiencing this behavior? while we look into the root cause, im wondering how we can unblock you. can you try these workarounds:
let us know if any of these work (and about any other workarounds you've tried), it also gives us more information about the nature of this bug 🙏 |
I first noticed it I think with the prior version when I was trying to test the console command - I don't use it too often but it didn't work at all which is when I saw the other issue. Went back to test it once I saw that was resolved in the latest release. It's not a major issue for me - not critical to workflow currently - more just a nice to have. I did try some of the steps you mentioned:
Interestingly the only way I can get a different result is if I run it, cancel it, leaving the hanging process, then try run it again and - when the ports clash because of the already existing process it seems to make it further. Have attached log output from that run + screen record too. shopify.theme.console.-.with.running.process.mp4 |
👋 Hey @sb18281, Thanks a lot for reporting this and for including the screen recordings. The 3.59.2 release solves a broader issue in the Could you please confirm if upgrading to 3.59.2 also solves the scenario you're facing? Thank you! |
Hey @karreiro - thanks for checking in! Unfortunately no change for me - it still attempts to hit |
👋 hi @sb18281 -- we're not seeing other reports of this issue, im now wondering if this is an auth issue with your account. especially since in the verbose logs we're only seeing 302s and never a 200 when proxying requests:
do you have another account on hand and a store that you're an owner of ?? (so not a collaborator like tinto-amorio). just trying to isolate where this issue is happening, thank you 🙏 |
@mgmanzella I'm actually experiencing the exact same issue here. I'm also trying to run it on a password-protected store. I reported it on my last post in #3650 |
thanks for reporting @xmadscientist ! your log output is a bit different, even though you're experiencing the same result the root cause appears to be different (and not related to auth). let's stay your original issue, ill reopen it 🙏 |
Thanks @mgmanzella for trying to narrow this down! Tried with one where my only access is via staff (same account/email though) - no luck unfortunately. But, running on a dev store (that I'm the owner of) did the trick - bit tricky to compare potentially given that the dev store has a password page and isn't live. One thing to callout that I just noticed - and potentially related to some other issues I've seen partners flag. Is when it worked for the dev store it clicked that the repl template was different as the password page was unstyled. Re-running with store REPL Theme (Originally navigated to from the cli): I think this is potentially related to issues I've seen other partners raise within Slack where Hope this provides some insight into what might be happening! Thanks for the callout around running on an owned theme - if not for the dev store styling changing I wouldn't have thought to check the theme ids against what it's opening. Staff Account
Dev Store
Tinto - with redirect to live theme
|
great catch ty! we'll take a look, thanks again for the extra details 🙏 |
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
Running
shopify theme console
on a store should open the localhost url to auth the console and then close itself before making the console input available to query liquid objectsActual behavior
The localhost url redirected to the homepage of the store and sat there. Exiting the process with
ctrl + c
also seems to leave the ruby process hanging.Verbose output
Reproduction steps
shopify theme list --store=URL
to set the store to work with for subsequent cli commandsshopify theme console
Operating System
Mac OS Sonoma
Shopify CLI version (check your project's
package.json
if you're not sure)3.59.1
Shell
zsh
Node version (run
node -v
if you're not sure)v20.11.1
What language and version are you using in your application?
Ruby 3.2.3
The text was updated successfully, but these errors were encountered: