-
Notifications
You must be signed in to change notification settings - Fork 227
Closed
Labels
Area: @shopify/app@shopify/app package issues@shopify/app package issuesType: EnhancementNew feature or requestNew feature or requestno-issue-activity
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
Expected behavior
There should be a way to init a new app without user prompt.
Actual behavior
In non-interactive environment command shopify app init fails with Failed to prompt: Create this project as a new app on Shopify?. There's no way to specify something like --client-id=new.
Verbose output
Verbose output
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ Failed to prompt: │
│ │
│ Create this project as a new app on Shopify? │
│ │
│ This usually happens when running a command non-interactively, for example │
│ in a CI environment, or when piping to or from another process. │
│ │
│ To resolve this, specify the option in the command, or run the command in │
│ an interactive environment such as your local terminal. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
Reproduction steps
shopify app initin non-interactive environment
Operating System
Mac OS
Shopify CLI version (shopify --version)
@shopify/cli/3.80.7 darwin-arm64 node-v24.1.0
Shell
No response
Node version (run node -v if you're not sure)
No response
What language and version are you using in your application?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: @shopify/app@shopify/app package issues@shopify/app package issuesType: EnhancementNew feature or requestNew feature or requestno-issue-activity