cli: [Bug]: Process aborts when requests last longer than 15 seconds
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?
Theme
Expected behavior
https://shopify.dev/docs/storefronts/themes/getting-started/create I am on the Doc for Getting-started.
Command
shopify theme dev --store XXXXXX
Actual behavior
Running the command “shopify theme dev --store XXXX”. It shows Logged in successful, but after that error msg show “The user aborted a request.”
Verbose output
Verbose output
➜ shopify shopify theme dev --store TGM-Test-Store
To run this command, log in to Shopify.
User verification code: ZBSW-BMKK
👉 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%5Buser_code%5D=ZBSW-BMKK
✔ Logged in.
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ The user aborted a request. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
Reproduction steps
The account I used is the store owner, the same email address for developer Partner.
Operating System
Mac Os
Shopify CLI version (shopify --version)
@shopify/cli/3.77.1 darwin-x64 node-v22.14.0
Shell
No response
Node version (run node -v if you’re not sure)
v22.14.0
What language and version are you using in your application?
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 6
- Comments: 37 (11 by maintainers)
Yup, same here when trying to run a remix app with
shopify app dev. Stack trace:CLI version: @shopify/cli/3.77.1 darwin-arm64 node-v22.14.0
EDIT: The issue is fixed for me when I downgrade to the following CLI version: @shopify/cli/3.76.2 darwin-arm64 node-v22.14.0
Maybe it has something to do with this CLI-Kit feature that’s been introduced with 3.77.0? 👀
Why this issue is closed?
@EvilGenius13 there’s another user facing this error when running
theme devwith the latest version. This is what the verbose log shows:Could you please have a look? It seems it’s still failing after 15s.
I am having the same issue on my mac having had to replace my hard drive and update to the latest OS. I have spent 5 hours trying to install different many versions but to no avail. I think I used to have v2 before but can’t seem to install that anymore, so gonna have to keep trying with v3x.
UPDATE: Having tried many different versions, got this one to work: 3.70.0 npm install -g /cli@3.70.0
Thanks to this thread: https://community.shopify.com/c/shopify-discussions/can-run-shopify-theme-dev-on-the-latest-version-of-shopify-cli-3/m-p/2868197#M484569
I am getting this issue. I do not always get a request ID.
First time I ran
shopify app devit ran fine and then closed. Second time I had to auth again and then it hung up after login. Then I got a 500 response. Now I just get “The user aborted a request”Request ID: 245b1c66-f016-40f1-bb0b-35558ab9dd83-1749164772 Request ID: 1c850f15-bf1e-450a-98cc-44f2ff88b9e7-1749164732
These are the only two times I have gotten a request id back. More times I get “The user aborted a request”
It was working fine a few days ago, nothing changed code wise but now this is a problem today.
@annaweaver @jackwuzz I confirm, downgrade to 3.70.0 will solve this issue
@djordje-st how did you add the flag into the cli command please, going through the same issue and have tried to use a “shopify.theme.toml” for theme dev. cannot find the flags to use for this. thank you