when i run shopify theme pull it does not show my development theme

Solved

when i run shopify theme pull it does not show my development theme

bilal003
Shopify Partner
4 0 2

I've initialized them using theme init in my vs code. Now I run the Shopify theme dev command and open the link to Customize this theme in the Theme Editor. I want to pull the changes I've made in my theme editor. but when I run the Shopify theme pull command it shows me a list of themes in my store and I have to choose one of them to pull. but I don't want that I want to pull changes I've made in my development theme but it is not on the list.

Bilal | Shopify Theme Developer
Did I solve your issue? Like & Mark As Solution to help the community
Emial: bilalarshad.me38@gmail.com
Accepted Solution (1)
Patane
Shopify Partner
15 2 1

This is an accepted solution.

@bilal003 & @jamesauble - Figured it out!

 

You need to add the -d flag at the end of the command: shopify theme pull -d

See docs about pull flags: https://shopify.dev/docs/themes/tools/cli/commands#pull

Sean
-
PATANE, Shopify Experts

View solution in original post

Replies 4 (4)

jamesauble
Shopify Partner
13 0 7

For me, the issue is I see some old stale dev theme but not my current one. So I can't make customizations and `theme pull` them because my changes apparently are saving to a dev theme that doesn't exist and/or isn't able to pull from.

Patane
Shopify Partner
15 2 1

I'm also having the same issue. Shopify theme dev successfully serves a new instance of the dev theme, but it does not show up in the list of themes to pull.

Sean
-
PATANE, Shopify Experts
Patane
Shopify Partner
15 2 1

This is an accepted solution.

@bilal003 & @jamesauble - Figured it out!

 

You need to add the -d flag at the end of the command: shopify theme pull -d

See docs about pull flags: https://shopify.dev/docs/themes/tools/cli/commands#pull

Sean
-
PATANE, Shopify Experts
chevsky
Shopify Partner
12 0 0

E:\homebaa\impactful-backdrop-theme>shopify theme list
╭─ error ──────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Unknown error connecting to your store 4e8e99-77.myshopify.com: The user aborted a request. │
│ │
│ To investigate the issue, examine this stack trace: │
│ at fetchApiVersions │
│ (Users/1/.nvmd/versions/18.20.2/node_modules/@shopify/cli/dist/index.js:167669) │
│ at processTicksAndRejections (node:internal/process/task_queues:95) │
│ at async supportedApiVersions │
│ (Users/1/.nvmd/versions/18.20.2/node_modules/@shopify/cli/dist/index.js:167659) │
│ at async fetchLatestSupportedApiVersion │
│ (Users/1/.nvmd/versions/18.20.2/node_modules/@shopify/cli/dist/index.js:167655) │
│ at async adminRequestDoc │
│ (Users/1/.nvmd/versions/18.20.2/node_modules/@shopify/cli/dist/index.js:167636) │
│ at async fetchThemes │
│ (Users/1/.nvmd/versions/18.20.2/node_modules/@shopify/cli/dist/index.js:167728) │
│ at async fetchStoreThemes │
│ (Users/1/.nvmd/versions/18.20.2/node_modules/@shopify/cli/dist/index.js:169636) │
│ at async list │
│ (Users/1/.nvmd/versions/18.20.2/node_modules/@shopify/cli/dist/index.js:172687) │
│ at command (Users/1/.nvmd/versions/18.20.2/node_modules/@shopify/cli/dist/index.js:172715) │
│ at run (Users/1/.nvmd/versions/18.20.2/node_modules/@shopify/cli/dist/index.js:166441)