Closed
Description
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
Be able to launch CLI's theme dev.
Actual behavior
Upgraded to CLI 3.81.0 and now I'm greeted with a JSON error - was working fine on 3.80.7.
Already tried uninstalling and reinstalling via homebrew.
I think this further solidifies the CLI team desperately needs to roll out stable and beta branches.
Verbose output
Verbose output
2025-06-11T14:29:59.327Z: Running command theme dev
2025-06-11T14:29:59.328Z: Running system process in background:
· Command: /opt/homebrew/Cellar/node/24.2.0/bin/node /opt/homebrew/bin/shopify notifications list --ignore-errors
· Working directory: /Users/user/Development/the-fine-cheese-co
2025-06-11T14:29:59.335Z: Notifications to show: 0
2025-06-11T14:29:59.338Z: Reading the content of file at shopify.theme.toml...
2025-06-11T14:29:59.343Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]
2025-06-11T14:29:59.343Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store the-fine-cheese-co.myshopify.com:
[]
2025-06-11T14:29:59.344Z: Getting session store...
2025-06-11T14:29:59.344Z: Validating existing session against the scopes:
[
"openid",
"https://api.shopify.com/auth/shop.admin.graphql",
"https://api.shopify.com/auth/shop.admin.themes",
"https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
"https://api.shopify.com/auth/shop.storefront-renderer.devtools",
"https://api.shopify.com/auth/partners.app.cli.access",
"https://api.shopify.com/auth/destinations.readonly",
"https://api.shopify.com/auth/organization.store-management",
"https://api.shopify.com/auth/organization.on-demand-user-access",
"https://api.shopify.com/auth/organization.apps.manage"
]
For applications:
{
"adminApi": {
"scopes": [],
"storeFqdn": "the-fine-cheese-co.myshopify.com"
}
}
2025-06-11T14:29:59.344Z: Initiating the full authentication flow...
2025-06-11T14:29:59.344Z: Requesting device authorization code...
2025-06-11T14:29:59.344Z: Sending POST request to URL https://accounts.shopify.com/oauth/device_authorization
With request headers:
- Content-type: application/x-www-form-urlencoded
2025-06-11T14:29:59.555Z: Request to https://accounts.shopify.com/oauth/device_authorization completed in 211 ms
With response headers:
- cache-control: no-cache, no-store, private, must-revalidate, max-age=0
- content-type: text/html
- server-timing: processing;dur=16, socket_queue;dur=1.187, edge;dur=1.031, util;dur=0.0, cfRequestDuration;dur=144.999981
- x-request-id: 451f97a1-74aa-4bf7-a19c-87e73b348bf5-1749652199
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ Unexpected end of JSON input │
│ │
│ To investigate the issue, examine this stack trace: │
│ at parse │
│ at json (opt/homebrew/Cellar/shopify-cli/3.81.0/libexec/lib/node_modules │
│ /@shopify/cli/dist/chunk-NVXZREWB.js:27662) │
│ at processTicksAndRejections (node:internal/process/task_queues:105) │
│ at async requestDeviceAuthorization (opt/homebrew/Cellar/shopify-cli/3.8 │
│ 1.0/libexec/lib/node_modules/@shopify/cli/dist/chunk-HVXOXFW7.js:924) │
│ at async executeCompleteFlow (opt/homebrew/Cellar/shopify-cli/3.81.0/lib │
│ exec/lib/node_modules/@shopify/cli/dist/chunk-HVXOXFW7.js:1062) │
│ at async ensureAuthenticated (opt/homebrew/Cellar/shopify-cli/3.81.0/lib │
│ exec/lib/node_modules/@shopify/cli/dist/chunk-HVXOXFW7.js:1037) │
│ at async ensureAuthenticatedAdmin (opt/homebrew/Cellar/shopify-cli/3.81. │
│ 0/libexec/lib/node_modules/@shopify/cli/dist/chunk-7KHSYC7Q.js:81) │
│ at run (opt/homebrew/Cellar/shopify-cli/3.81.0/libexec/lib/node_modules/ │
│ @shopify/cli/dist/index.js:200013) │
│ at _run (opt/homebrew/Cellar/shopify-cli/3.81.0/libexec/lib/node_modules │
│ /@shopify/cli/dist/chunk-LPU2VGJR.js:174854) │
│ at runCommand (opt/homebrew/Cellar/shopify-cli/3.81.0/libexec/lib/node_m │
│ odules/@shopify/cli/dist/chunk-LPU2VGJR.js:173679) │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
2025-06-11T14:29:59.583Z: Running system process:
· Command: npm prefix
· Working directory: /Users/user/Development/the-fine-cheese-co
2025-06-11T14:29:59.652Z: Obtaining the dependency manager in directory /Users/user/Development/the-fine-cheese-co...
2025-06-11T14:29:59.717Z: Getting session store...
2025-06-11T14:29:59.718Z: Getting session store...
2025-06-11T14:29:59.915Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 192 ms
With response headers:
- x-request-id: 281116ef-cd79-4208-b87a-27e3b9cb44d7
2025-06-11T14:29:59.916Z: Analytics event sent: {
"command": "theme dev",
"time_start": 1749652199327,
"time_end": 1749652199580,
"total_time": 253,
"success": false,
"cli_version": "3.81.0",
"ruby_version": "",
"node_version": "24.2.0",
"is_employee": false,
"uname": "darwin arm64",
"env_ci": false,
"env_plugin_installed_any_custom": false,
"env_plugin_installed_shopify": "[\"@shopify/cli\"]",
"env_shell": "zsh",
"env_device_id": "f6c51f1f89534a7c82d8e19ca49f742c3c9a0789",
"env_cloud": "localhost",
"env_package_manager": "unknown",
"env_is_global": true,
"env_auth_method": "none",
"env_is_wsl": false,
"cmd_app_warning_api_key_deprecation_displayed": false,
"cmd_all_timing_network_ms": 211,
"cmd_all_timing_prompts_ms": 0,
"cmd_all_launcher": "unknown",
"cmd_all_topic": "theme",
"cmd_all_plugin": "@shopify/theme",
"cmd_all_force": false,
"cmd_all_verbose": true,
"cmd_all_path_override": true,
"cmd_all_path_override_hash": "4302eb891e822c487f735d00bee212d88a0ee2c3",
"cmd_all_timing_active_ms": 41,
"cmd_all_exit": "unexpected_error",
"user_id": "unknown",
"request_ids": [],
"args": "--verbose",
"error_message": "Unexpected end of JSON input",
"env_plugin_installed_all": "[\"@shopify/cli\"]",
"metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2025-06-11T14:29:59.920Z: Reporting unhandled error to Bugsnag: Unexpected end of JSON input
2025-06-11T14:30:00.064Z: Running system process:
· Command: npm prefix
· Working directory: /Users/user/Development/the-fine-cheese-co
2025-06-11T14:30:00.129Z: Obtaining the dependency manager in directory /Users/user/Development/the-fine-cheese-co...
2025-06-11T14:30:00.130Z: Getting session store..
Reproduction steps
- Upgraded to CLI 3.81.0
- Launched theme dev
- Error.
Operating System
macOS
Shopify CLI version (shopify --version
)
3.81.0
Shell
zsh
Node version (run node -v
if you're not sure)
v24.2.0
What language and version are you using in your application?
N/A