Hello. I’m mystified by this (new) error message from CLI 3.
I’m trying to build my app and have begun seeing this error when running “npm run dev”. It is persistent, I have rebooted, removed and reinstalled CLI …
I am running the command interactively: by typing it.
I have already answered “Create this project as a new app on Shopify?” (as No), so it IS associated with my app.
Current Shopify CLI version: 3.47.3
─ external error ──────────────────────────────────────────────────────────────
Error coming from `npm run dev`
Command failed with exit code 1: npm run dev
╭─ 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 input 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. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
> sdapp14@1.0.0 dev
> shopify app dev
Looks like this is the first time you're running dev for this project.
Configure your preferences by answering a few questions.
Before proceeding, your project needs to be associated with an app.
────────────────────────────────────────────────────────────────────────────────
Thanks for your help! jb