[Bug]: Is shopify theme dev ...
command requiring an access token or password for syncing my development theme with the store?
#4336
Labels
Area: @shopify/theme
@shopify/theme package issues
#gsd:40767
Fortify local development experience for Liquid themes
no-issue-activity
Type: Bug
Something isn't working
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
export SHOPIFY_CLI_THEME_TOKEN=shptka_passwordExample
Once done, you can run again the
shopify theme dev --store {store-name} # or shopify theme dev
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
The text was updated successfully, but these errors were encountered: