[Bug]: Shopify CLI - npm run dev -- -- --reset
hangs on app-select/app name step unless Enter
is pressed
#3091
Closed
2 tasks done
Labels
Please confirm that you have:
In which of these areas are you experiencing a problem?
Other
Expected behavior
Run
npm run dev -- -- --reset
Choose either
y
(Create new app) orn
(Select pre-existing app).Use keyboard inputs to name/re-name or select a pre-existing app from the list.
Actual behavior
When running
npm run dev -- -- --reset
, choosing either(y) Yes, create it as a new app
or(n) No, connect it to an existing app
results in Shopify CLI UI being unresponsive, dumping all inputs into a buffer line at the bottom of the terminal. Ctrl+C has no effect.Pressing enter submits content of buffer, but often results in the user being re-prompted. While this does make the CLI usable again, I believe this should still be addressed as you cannot re-name the app.
This seems to only occurr if there is an existing
shopify.app.toml
orshopify.app.[app-name].toml
configuration file present in the project.Verbose output
Reproduction steps
.toml
configuration for the app. (Runnpm run dev
as normal).npm run dev -- -- --reset
y
orn
y
, and you will not be able to re-name it.Operating System
Windows 10
Shopify CLI version (check your project's
package.json
if you're not sure)3.50.0
Shell
pwsh
Node version (run
node -v
if you're not sure)v18.15.0
What language and version are you using in your application?
Node v18.15.0, TS
The text was updated successfully, but these errors were encountered: