You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
In which of these areas are you experiencing a problem?
Theme, App
Expected behavior
I'm building a Shopify app. But I also work on a Shopify theme, for a completely unrelated store/project.
When I want to work on an app (extension), I run shopify app dev --config=xxx --tunnel-url=xxx --no-update. The Shopify CLI, installed globally as recommended, tries to connect to the theme project store.
This used to work when I had Shopify CLI in package.json. But, as recommended, I uninstalled it, and now I cannot find an easy way to point to another Shopify store for my app development.
I think the main issue that I've been having with Shopify CLI for years, is that Shopify CLI is storing data somewhere hidden from the user (developer). If this could be extracted to a .toml file, like many other configuration settings are...that would fix this issue...and prevent me from deleting a random theme as suggested by the CLI tool, which incorrectly first shows store1, but it's actually referring to store2:
Starting Shopify dev
╭─ info ───────────────────────────────────────────────────────────────────────────╮
│ │
│ Using shopify.app.xxx.toml for default values: │
│ │
│ • Org: XXX │
│ • App: XXX │
│ • Dev store: store1.myshopify.com │
│ • Update URLs: No │
│ │
│ You can pass `--reset` to your command to reset your app configuration. │
│ │
╰──────────────────────────────────────────────────────────────────────────────────╯
╭─ info ───────────────────────────────────────────────────────────────────────────╮
│ │
│ The theme app extension development server is ready. │
│ │
│ Next steps │
│ 1. Install your app in your development store [1] │
│ 2. Setup your theme app extension in the host theme [2] │
│ 3. Preview your theme app extension at http://127.0.0.1:9293 [3] │
│ │
╰──────────────────────────────────────────────────────────────────────────────────╯
[1] https://partners.shopify.com/xxx/apps/xxx/test
[2] https://store1.myshopify.com/admin/themes/xxx/editor
[3] http://127.0.0.1:9293
17:01:30 │ graphiql │ GraphiQL server started on port 3457
17:01:30 │ web-frontend │ 'started Shopify dev server'
17:01:31 │ xxx │ Draft updated successfully for extension: xxx
╭─ error ──────────────────────────────────────────────────────────────────────────╮
│ │
│ Theme 129254948927 is missing required files. Run shopify theme delete -t │
│ 129254948927 to delete it, then try your command again. │
│ │
╰──────────────────────────────────────────────────────────────────────────────────╯
Note that 129254948927 is theme ID from store2, which is nowhere mentioned. Only store1 is mentioned before. 🤷♂️
Actual behavior
User/developer is presented with all hidden config options that are currently hidden, but cause a lot of confusion.
Verbose output
Verbose output
Paste the output here!
Reproduction steps
Operating System
macOS
Shopify CLI version (shopify --version)
3.74.1
Shell
zsh
Node version (run node -v if you're not sure)
20.14.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered:
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme, App
Expected behavior
I'm building a Shopify app. But I also work on a Shopify theme, for a completely unrelated store/project.
When I want to work on an app (extension), I run
shopify app dev --config=xxx --tunnel-url=xxx --no-update
. The Shopify CLI, installed globally as recommended, tries to connect to the theme project store.This used to work when I had Shopify CLI in
package.json
. But, as recommended, I uninstalled it, and now I cannot find an easy way to point to another Shopify store for my app development.I think the main issue that I've been having with Shopify CLI for years, is that Shopify CLI is storing data somewhere hidden from the user (developer). If this could be extracted to a .toml file, like many other configuration settings are...that would fix this issue...and prevent me from deleting a random theme as suggested by the CLI tool, which incorrectly first shows store1, but it's actually referring to store2:
Note that 129254948927 is theme ID from store2, which is nowhere mentioned. Only store1 is mentioned before. 🤷♂️
Actual behavior
User/developer is presented with all hidden config options that are currently hidden, but cause a lot of confusion.
Verbose output
Verbose output
Reproduction steps
Operating System
macOS
Shopify CLI version (
shopify --version
)3.74.1
Shell
zsh
Node version (run
node -v
if you're not sure)20.14.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: