Skip to content

Nonexistent flag: --force error when running fly launch #4944

Description

@burpeedev
Image

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions