[Bug]: The operation was aborted
Please confirm that you have:
- [x] 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.)
- [x] Reproduced the issue in the latest CLI version.
In which of these areas are you experiencing a problem?
App
Expected behavior
Cloudflare tunnel has stopped working in version 3.78.0. It works with ngrok and localhost dev
Actual behavior
Verbose output
shopify version --verbose 2025-04-13T07:46:33.528Z: Running command version 2025-04-13T07:46:33.544Z: Running system process: · Command: C:\Program Files\nodejs\node.exe C:\Users\navdeep\AppData\Roaming\npm\node_modules@shopify\cli\bin\run.js notifications list --ignore-errors · Working directory: D:/Side-Projects/vista-order-editing/vista-order-editing
2025-04-13T07:46:33.561Z: Notifications to show: 0 3.78.0 2025-04-13T07:46:33.629Z: Running system process: · Command: npm prefix · Working directory: D:/Side-Projects/vista-order-editing/vista-order-editing
2025-04-13T07:46:34.110Z: Obtaining the dependency manager in directory D:\Side-Projects\vista-order-editing\vista-order-editing... 2025-04-13T07:46:34.515Z: Getting session store... 2025-04-13T07:46:34.518Z: Getting session store... 2025-04-13T07:46:34.885Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 358 ms With response headers:
- x-request-id: 8817717e-9410-4128-86c0-2fa78469462b
2025-04-13T07:46:34.887Z: Analytics event sent: { "command": "version", "time_start": 1744530393531, "time_end": 1744530393573, "total_time": 42, "success": true, "cli_version": "3.78.0", "ruby_version": "", "node_version": "22.14.0", "is_employee": false, "uname": "windows amd64", "env_ci": false, "env_plugin_installed_any_custom": false, "env_plugin_installed_shopify": "["@shopify/cli"]", "env_shell": "cmd.exe", "env_device_id": "ba4fd841cd5a43ef77495269e52d05c3d5bb05cf", "env_cloud": "localhost", "env_package_manager": "npm", "env_is_global": true, "env_auth_method": "device_auth", "cmd_app_warning_api_key_deprecation_displayed": false, "cmd_all_timing_network_ms": 0, "cmd_all_timing_prompts_ms": 0, "cmd_all_launcher": "unknown", "cmd_all_plugin": "@shopify/cli", "cmd_all_timing_active_ms": 42, "cmd_all_exit": "ok", "user_id": "bf88ac68-e94c-4d68-925e-63b0912999bc", "request_ids": [], "args": "--verbose", "env_plugin_installed_all": "["@shopify/cli"]", "metadata": "{"extraPublic":{},"extraSensitive":{}}" } 2025-04-13T07:46:34.888Z: Completed command version
Reproduction steps
- Shopify app dev
Operating System
Windows 11
Shopify CLI version (shopify --version)
3.78.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
Getting same error. Fixed that using manual cloudflare tunnel url
shopify app dev --tunnel-url=Tunnel url here:3000
But previously i was able to send request from extension to app routes but now showing cors error.
Getting same error. Fixed that using manual cloudflare tunnel url
shopify app dev --tunnel-url=Tunnel url here:3000
But previously i was able to send request from extension to app routes but now showing cors error.
Yea I have been using ngrok since yesterday but manual tunnels are a pain
I've had this a couple times too running theme commands (dev and push)
I'm also experiencing the same issue on Windows. As a workaround, I switched to using an ngrok tunnel with the following command: shopify app dev --tunnel-url=ngrok-url: PORT
While this helps, I still occasionally run into the same error and have to retry the command multiple times.
I am working on a shopify app with some theme extensions,app-blocks.
I faced the same issue after I updated the shopify cli to the latest version.
I ran pnpm dev and this error.
❌Here is what did not work for me
- I tried deleting and re-installing all the packages
- Deleted the node_modules folder
- updating pnpm to the latest version
- Restarting my pc
- Creating a brand new application
✅What did work for me:
- Deleted pnpm global cache
- Completely remove pnpm from my pc
- Reinstalled the latest version of pnpm 10.8.1
- Delete the node_modules
- Installed all the packages again
- Installed shopify CLI version 3.75.4
📦 package.json
Click to view
{
"name": "test-app",
"private": true,
"scripts": {
"build": "remix vite:build",
"dev": "shopify app dev",
"config:link": "shopify app config link",
"generate": "shopify app generate",
"deploy": "shopify app deploy",
"config:use": "shopify app config use",
"env": "shopify app env",
"start": "remix-serve ./build/server/index.js",
"docker-start": "npm run setup && npm run start",
"setup": "prisma generate && prisma migrate deploy",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"shopify": "shopify",
"prisma": "prisma",
"ps": "prisma studio",
"graphql-codegen": "graphql-codegen",
"vite": "vite"
},
"type": "module",
"engines": {
"node": "^18.20 || ^20.10 || >=21.0.0"
},
"dependencies": {
"@prisma/client": "^6.2.1",
"@reduxjs/toolkit": "^2.6.1",
"@remix-run/dev": "^2.15.0",
"@remix-run/fs-routes": "^2.15.0",
"@remix-run/node": "^2.15.0",
"@remix-run/react": "^2.15.0",
"@remix-run/serve": "^2.15.0",
"@shopify/app-bridge-react": "^4.1.6",
"@shopify/polaris": "^12.0.0",
"@shopify/shopify-app-remix": "^3.7.0",
"@shopify/shopify-app-session-storage-prisma": "^6.0.0",
"axios": "^1.8.4",
"isbot": "^5.1.0",
"prisma": "^6.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^9.2.0",
"vite-tsconfig-paths": "^5.0.1"
},
"devDependencies": {
"@remix-run/eslint-config": "^2.15.0",
"@remix-run/route-config": "^2.15.0",
"@shopify/api-codegen-preset": "^1.1.1",
"@types/eslint": "^9.6.1",
"@types/node": "^22.2.0",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"eslint": "^8.42.0",
"eslint-config-prettier": "^10.0.1",
"prettier": "^3.2.4",
"typescript": "^5.2.2",
"vite": "^5.1.3"
},
"workspaces": {
"packages": [
"extensions/*"
]
},
"trustedDependencies": [
"@shopify/plugin-cloudflare"
],
"resolutions": {
"@graphql-tools/url-loader": "8.0.16"
},
"overrides": {
"@graphql-tools/url-loader": "8.0.16"
},
"author": "ki"
}
Strangely the issue has not been resolved in 3.78.1
I had the same issue while working on two different machines. It was working on one but on the other machine I got the "The operation was aborted" error. In my case it was an issue with the node version.
node-v20.x.x & shopify-cli 3.78.2 -> Error node-v22.8.0 & shopify-cli 3.78.2 -> Working
Here the steps that fixed it for me:
- nvm install 22.8.0
- nvm use 22.8.0
- delete node_modules in app and extension
- delete package-lock
- npm install
You can then check the version with shopify --version which should give something like @shopify/cli/3.78.2 win32-x64 node-v22.8.0
I hope this helps.
Shutting down my system and rebooting seemed to fix it for me. Restarting didn't help.
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
I was having a similar issue because my HMR port in vite.config.ts and docker container port were conflicting in the local dev
my-app | ╭─ error ──────────────────────────────────────────────────────────────────────╮
my-app | │ │
my-app | │ The operation was aborted. │
my-app | │ │
my-app | ╰──────────────────────────────────────────────────────────────────────────────╯
my-app exited with code 1