cli icon indicating copy to clipboard operation
cli copied to clipboard

[Bug]: Shopify Theme Pull

Open Yevheniy2020 opened this issue 8 months ago • 2 comments

Please confirm that you have:

  • [x] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • [x] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Theme

Expected behavior

There should be a pull

Actual behavior

pull doesn't work , the terminal crashes

Verbose output

Verbose output
2025-04-18T15:05:02.418Z: Running command theme pull
2025-04-18T15:05:02.424Z: Running system process in background:
· Command: /usr/local/Cellar/node/23.9.0/bin/node /usr/local/bin/shopify notifications list --ignore-errors
· Working directory: /Users/mac/Documents/Projects/studying/actucal-studying/studying-shop

2025-04-18T15:05:02.439Z: Notifications to show: 0
2025-04-18T15:05:02.469Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]

2025-04-18T15:05:02.470Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store shop-test-yevhenii.myshopify.com:
[]

2025-04-18T15:05:02.470Z: Getting session store...
2025-04-18T15:05:02.472Z: Validating existing session against the scopes:
[
"openid",
"https://api.shopify.com/auth/shop.admin.graphql",
"https://api.shopify.com/auth/shop.admin.themes",
"https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
"https://api.shopify.com/auth/shop.storefront-renderer.devtools",
"https://api.shopify.com/auth/partners.app.cli.access",
"https://api.shopify.com/auth/destinations.readonly",
"https://api.shopify.com/auth/organization.store-management",
"https://api.shopify.com/auth/organization.apps.manage"
]
For applications:
{
"adminApi": {
  "scopes": [],
  "storeFqdn": "shop-test-yevhenii.myshopify.com"
}
}

2025-04-18T15:05:02.473Z: - Token validation -> It's expired: false
2025-04-18T15:05:02.473Z: Getting development theme...

Reproduction steps

Operating System

MacBook Pro 16-inch, 2019

Shopify CLI version (shopify --version)

@shopify/cli/3.76.2 darwin-x64 node-v23.9.0

Shell

Git Bash

Node version (run node -v if you're not sure)

v23.9.0

What language and version are you using in your application?

Node v23.9.0

Yevheniy2020 avatar Apr 18 '25 15:04 Yevheniy2020

Image

Yevheniy2020 avatar Apr 18 '25 15:04 Yevheniy2020

Still happening? Wondering what might cause this? We don't seem to have other reports of this issue 🤔

Can you try with shopify/[email protected] ?

charlespwd avatar May 01 '25 16:05 charlespwd

Still happening? Wondering what might cause this? We don't seem to have other reports of this issue 🤔

Can you try with shopify/[email protected] ?

Unfortunately, it doesn't work. The same behavior

Yevheniy2020 avatar May 11 '25 12:05 Yevheniy2020

Seems like a core cli issue.

charlespwd avatar Jun 12 '25 16:06 charlespwd

Have you tried with --verbose? That might shed some light on where things are getting stuck.

Also, this is a shot in the dark, but have you tried in another terminal? Git Bash on Mac is somewhat unusual, I wonder if it has some gotchas.

amcaplan avatar Jun 16 '25 09:06 amcaplan

Have you tried with --verbose? That might shed some light on where things are getting stuck.

Also, this is a shot in the dark, but have you tried in another terminal? Git Bash on Mac is somewhat unusual, I wonder if it has some gotchas.

Yes, I used all this, but it didn't work. I reinstalled my mac and it works

Yevheniy2020 avatar Jun 17 '25 07:06 Yevheniy2020

I reinstalled my mac and it works

Sounds like this has been resolved for now. If you run into this again let us know.

graygilmore avatar Jun 24 '25 18:06 graygilmore