-
Notifications
You must be signed in to change notification settings - Fork 210
Description
Please confirm that you have:
- 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.)
- Reproduced the issue in the latest CLI version.
In which of these areas are you experiencing a problem?
App, Extension
Expected behavior
The app starts.
Actual behavior
You can only have one web with the backend role in your app
You can only have one web with the frontend role in your app
I'm using git workspaces for doing CLI AI agent coding across multiple workspaces.
Shopify CLI is preventing me from doing this because Shopify CLI does a lot of magic that is hidden from the end user/developer/me.
This has been an issue for me for years now.
Would it be possible for Shopify CLI to stop:
- Stop saving config preferences in a hidden place (
.shopifydirectory is not the only place as copying that directory over doesn't resolve the issue) - Stop assuming anything for end user
- Stop trying to be the main tool needed to start: web server, backend, frontend, database, docker, virtual machine, remote desktop (see where I'm going?)
- Stop creating free Cloudflare tunnel
- Stop not respecting the command line arguments (config file, tunnel, etc.)
Shopify CLI (shopify app dev or shopify theme dev) should start file watcher for extension compilation and theme assets sync. Nothing else. Ever.
Would it be possible? Please.
It's really exhausting trying to debug Shopify CLI and other Shopify related issues which are completely unrelated to the actual implementation of my app code.
Here are few issue I'm facing ever. day.:
- Required App Bridge upgrade to newer version
- New Polaris upgrade which is completely incompatible of the last version
- App migration from Partner Dashboard to Dev Dashboard (now everything is in two places, what a mess...)
- Unknown app permissions, incomplete documentation
- Unmaintained app templates (I'm using Ruby on Rails, that's enough to say. Here's a motivational comment from Shopify staff: Rails 8, Hotwire, Stimulus, no react shopify-app-template-ruby#122 (comment))
Please, just do less. Don't try to build everything CLI tool. It's not going to work.
Instead of adding new features, can you please fix the open issues first?
Thank you!
Verbose output
Verbose output
Would be great to have a more verbose output than the simple message above:
You can only have one web with the backend role in your app
Reproduction steps
When using git workspaces, Shopify CLI "forgets" its config because it's hidden from user (developer). Even after copying over the .shopify directory to the new git workspace, the error still persists.
As of now I cannot start shopify app dev in main git repo. Basically I cannot start shopify app dev anywhere anymore.
Operating System
macOS
Shopify CLI version (shopify --version)
3.84.1
Shell
oh my zsh
Node version (run node -v if you're not sure)
v22.12.0
What language and version are you using in your application?
ruby 3.4.4 (2025-05-14 revision a38531fd3f) +PRISM [arm64-darwin24]