syncify icon indicating copy to clipboard operation
syncify copied to clipboard

Theme selection fails during sy init with "You must select at least 1 theme" error

Open WolfGreyDev opened this issue 8 months ago • 0 comments

Branch: next

When following the sy init setup flow, selecting an existing theme from the interactive prompt fails with the error: "You must select at least 1 theme"

test-init-14-04-25 sy init

┌─ Syncify ~ 10:50:16
│
│  v1.0.0-unstable.0
│
│  Hello Hacker 👋
│
│  Projects require Shopify API Authorization tokens. Store them in a .env file on
│  a per project basis, or for a more secure, file-free option, use the Syncify
│  keychain. The keychain bcrypts tokens on your system and auto-loads them
│  on-demand during development.
│
│  Storage Method:   ➔  env
│  Shopify Domain:   ➔  ****.myshopify.com
│  API Admin Token:  ➔  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
│  Target Storage:   ➔  package.json
│  Theme Targets:    ➔  select
│  Select Themes:    ?

│   You must select at least 1 theme
│
│  ✔ Dawn                        updated 6 months ago
├─ ✔ Theme                       updated 7 months ago

Steps to Reproduce

  1. Run sy init
  2. Complete the prompts:
    • Choose env storage method
    • Enter Shopify domain (e.g. store.myshopify.com)
    • Enter valid Admin API token
    • Select package.json for config
  3. At theme selection, attempt to choose any existing theme (hitting enter)
  4. Observe error message

Expected Behavior

Should successfully accept the selected theme and continue initialization.

Potential Fix

It looks like you have a hint to "Press spacebar to select" here but it's not shown as you can see above.

WolfGreyDev avatar Apr 17 '25 10:04 WolfGreyDev