Describe the bug
Running fly launch on a new project results in the error: Nonexistent flag: --force when using Shopify CLI 4.3.0
I investigated the cause. Shopify CLI deprecated and removed the --force flag from Shopify CLI 4.3.0. The fly launch script uses the command shopify app deploy --force --config shopify.app.toml in its build process. This may presumably be fixed by removing the --force flag from that command.
Shopify CLI release notes: https://github.com/Shopify/cli/releases
Steps to reproduce
You can reproduce this bug by running the following commands (these are taken from the page https://fly.io/docs/js/shopify/):
run shopify version to make sure you're on the latest: 4.3.0
Then run...
shopify app init
cd app
fly launch
Let it run. Observe the error. The fly launch never finishes successfully.
- Operating system
fly v0.4.61 darwin/arm64 Commit: 1ac1f44 BuildDate: 2026-06-25T15:52:32Z
Describe the bug
Running
fly launchon a new project results in the error: Nonexistent flag: --force when using Shopify CLI 4.3.0I investigated the cause. Shopify CLI deprecated and removed the --force flag from Shopify CLI 4.3.0. The fly launch script uses the command
shopify app deploy --force --config shopify.app.tomlin its build process. This may presumably be fixed by removing the --force flag from that command.Shopify CLI release notes: https://github.com/Shopify/cli/releases
Steps to reproduce
You can reproduce this bug by running the following commands (these are taken from the page https://fly.io/docs/js/shopify/):
run
shopify versionto make sure you're on the latest: 4.3.0Then run...
shopify app initcd appfly launchLet it run. Observe the error. The
fly launchnever finishes successfully.fly v0.4.61 darwin/arm64 Commit: 1ac1f44 BuildDate: 2026-06-25T15:52:32Z