Open rubenesda opened 4 weeks ago
👋 Hi @rubenesda, thanks for the report!
I'm glad you found a workaround for you by exporting the env var with a token. However, you should not have to do this step. Is it still working for you?
Looking at your logs, DEBUG timeout in GET https://rub-theme-2.myshopify.com/admin/api/unstable/themes.json
is standing out for me. I wonder if this is indicating an issue with your connection. There was a similar issue that came up recently and they had the same error logs. Can you try their solution and see if that works for you as well? https://github.com/Shopify/cli/issues/4242#issuecomment-2305487052
Thanks 🙏
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
According to the documentation, this should work based on https://shopify.dev/docs/storefronts/themes/getting-started/create
Once you guarantee that you are working with
You should run the next commands
Here, a login was requested due to a new requested login from a device. Then, I set it up and validated the code generated by
shopify theme
command. mymy-new-theme
folder wasruben-theme-2
and my store-name was created from Shopify partner and it was calledrub-theme-2.myshopify.com
. Then, I attached an image of my expected behavior below.This means that a "synced event" should have shown up
Actual behavior
However, the actual result was this. Look at the next image below
The "synced event" wasn't shown up.
Nevertheless, I found a strange way to remediate it, you would need to install Theme access app on your store, create a new password, and copy it and paste it on your terminal like a Shopify CLI environment variable. For instance
Once done, you can run again the
And you will get the expected result
Verbose output
Reproduction steps
shopify theme init
cd "my-new-theme"
shopify theme dev --store {store-name}
shopify theme dev --store {store-name}
orshopify theme dev
Operating System
Mac OS BigSur M1
Shopify CLI version (check your project's
package.json
if you're not sure)3.65.3
Shell
zsh
Node version (run
node -v
if you're not sure)v20.11.0
What language and version are you using in your application?
Ruby 3.3.0