Shopify CLI Login Issue – Unable to Run npm run dev (CLI Stuck, Browser Login Works)

I have reproduced the issue on the latest CLI version.

Yes, I am on the latest version

I have searched existing posts and this report is not a duplicate.

Yes, this isn’t a duplicate

In which of these areas are you experiencing a problem?

App

Expected behavior

After browser login, the terminal should continue automatically and start the app dev tunnel + local dev server.

Actual behavior

The login window completes, but the CLI remains stuck and does not proceed.

Reproduction steps

Create or open a Shopify app using the Remix template

Run the development server:

npm run dev

Shopify CLI attempts to authenticate

The browser login page opens and logs in successfully

CLI does not continue — it becomes stuck and stays on the login screen

The dev server never starts

Verbose output

shopify app dev

To run this command, log in to Shopify.
User verification code: WXRH-SDSH
:backhand_index_pointing_right: Press any key to open the login page on your browser
Opened link to start the auth process: https://accounts.shopify.com/activate-with-code?device_code[user_code]=WXRH-SDSH
AbortError2: The operation was aborted.
at abort (file:///home/sanjay/.nvm/versions/node/v22.17.0/lib/node_modules/@shopify/cli/dist/chunk-GXRCTOFL.js:28937:19)
at AbortSignal.abortAndFinalize (file:///home/.nvm/versions/node/v22.17.0/lib/node_modules/@shopify/cli/dist/chunk-GXRCTOFL.js:28945:7)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at AbortSignal.dispatchEvent (node:internal/event_target:762:26)
at runAbort (node:internal/abort_controller:486:10)
at abortSignal (node:internal/abort_controller:457:3)
at Timeout._onTimeout (node:internal/abort_controller:153:7)
at listOnTimeout (node:internal/timers:588:17)
at process.processTimers (node:internal/timers:523:7)
npm verbose cwd /home/sanjay/Documents/workspace/kw_shopify_apps/hello-bundle
npm verbose os Linux 6.17.0-6-generic
npm verbose node v22.17.0
npm verbose npm v10.9.2
npm verbose exit 1
npm verbose code 1

Operating system

Ubuntu

CLI version

3.87.4

Shell

terminal

Nodejs version

V22.17

What language and version are you using in your application?

node js

Hi @Sanjay_App

Was this working as expected previously, or is this the first time you’re running npm run dev on this machine?