Shopify / cli

Build apps, themes, and hydrogen storefronts for Shopify
https://shopify.dev
MIT License
414 stars 125 forks source link

[Bug]: Cart events oddities #4510

Open tpage99 opened 1 week ago

tpage99 commented 1 week ago

Please confirm that you have:

In which of these areas are you experiencing a problem?

Theme

Expected behavior

Add to cart or updating the cart provides visual / real-time feedback

Actual behavior

Cart doesn't appear to be updated on add/update. I am running the snapshot for 3.67.1 mentioned here.

Video: https://vimeo.com/1012042809/b5724989c7?share=copy

Verbose output

shopify theme dev -s the-pages-media-webinars --verbose 2024-09-23T14:29:16.528Z: Running command theme dev 2024-09-23T14:29:16.538Z: Ensuring that the user is authenticated with the Theme API with the following scopes: []

2024-09-23T14:29:16.539Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store the-pages-media-webinars.myshopify.com: []

2024-09-23T14:29:16.539Z: Getting session store... 2024-09-23T14:29:16.540Z: 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" ] For applications: { "adminApi": { "scopes": [], "storeFqdn": "the-pages-media-webinars.myshopify.com" } }

2024-09-23T14:29:16.541Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection 2024-09-23T14:29:16.541Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection With request headers:

2024-09-23T14:29:16.758Z: Request to https://accounts.shopify.com/oauth/introspection completed in 217 ms With response headers:

2024-09-23T14:29:16.762Z: The identity token is valid: true 2024-09-23T14:29:16.762Z: The validation of the token for application/identity completed with the following results:

2024-09-23T14:29:16.762Z: The current session is valid but needs refresh. Refreshing... 2024-09-23T14:29:16.763Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQI5PPFtwYQhKzGtwZSJggBEhA6eOD3B9VH-JEg-RbQpDyMGhAi3AzfaN1DarMh5j5Wp_n0EkA4LeIPSwgfPmKsPsaJfaGB6QNl7Cfn17afg_UYYGXw4SJRj-K5_8USbfGLwWQlkjZJHtlu9xnaTAM_toRWMqgF&refresh_token=atkn_CiEI5PPFtwYQ5I3kuAaiARIKECLcDN9o3UNqsyHmPlan-fQSQPpkx3kIrf9HsrK7QRaXQyDxrBMIk1Qx34rc7uow0vSB4qOuhJXQ6mVmPRiZeoRoodDnc6Ju-2PVmm95eLY2vgE&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 With request headers:

2024-09-23T14:29:17.041Z: Request to https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQI5PPFtwYQhKzGtwZSJggBEhA6eOD3B9VH-JEg-RbQpDyMGhAi3AzfaN1DarMh5j5Wp_n0EkA4LeIPSwgfPmKsPsaJfaGB6QNl7Cfn17afg_UYYGXw4SJRj-K5_8USbfGLwWQlkjZJHtlu9xnaTAM_toRWMqgF&refresh_token=atkn_CiEI5PPFtwYQ5I3kuAaiARIKECLcDN9o3UNqsyHmPlan-fQSQPpkx3kIrf9HsrK7QRaXQyDxrBMIk1Qx34rc7uow0vSB4qOuhJXQ6mVmPRiZeoRoodDnc6Ju-2PVmm95eLY2vgE&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 completed in 278 ms With response headers:

2024-09-23T14:29:17.043Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=271e16d403dfa18082ffb3d197bd2b5f4479c3fc32736d69296829cbb28d41a6&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&subject_token=**** With request headers:

2024-09-23T14:29:17.043Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=ee139b3d-5861-4d45-b387-1bc3ada7811c&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools&subject_token=**** With request headers:

2024-09-23T14:29:17.043Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=32ff8ee5-82b8-4d93-9f8a-c6997cefb7dc&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly&subject_token=**** With request headers:

2024-09-23T14:29:17.043Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.graphql+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.themes+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly&subject_token=****&destination=https%3A%2F%2Fthe-pages-media-webinars.myshopify.com%2Fadmin With request headers:

2024-09-23T14:29:17.255Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=ee139b3d-5861-4d45-b387-1bc3ada7811c&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools&subject_token=**** completed in 212 ms With response headers:

2024-09-23T14:29:17.258Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.graphql+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.themes+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly&subject_token=****&destination=https%3A%2F%2Fthe-pages-media-webinars.myshopify.com%2Fadmin completed in 215 ms With response headers:

2024-09-23T14:29:17.260Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=271e16d403dfa18082ffb3d197bd2b5f4479c3fc32736d69296829cbb28d41a6&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&subject_token=**** completed in 217 ms With response headers:

2024-09-23T14:29:17.317Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=32ff8ee5-82b8-4d93-9f8a-c6997cefb7dc&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly&subject_token=**** completed in 273 ms With response headers:

2024-09-23T14:29:17.318Z: Setting session store... 2024-09-23T14:29:17.325Z: Ensuring that the user is authenticated with the Storefront API with the following scopes: []

2024-09-23T14:29:17.325Z: Getting session store... 2024-09-23T14:29:17.327Z: 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" ] For applications: { "storefrontRendererApi": { "scopes": [] } }

2024-09-23T14:29:17.328Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection 2024-09-23T14:29:17.328Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection With request headers:

2024-09-23T14:29:17.521Z: Request to https://accounts.shopify.com/oauth/introspection completed in 193 ms With response headers:

2024-09-23T14:29:17.530Z: The identity token is valid: true 2024-09-23T14:29:17.530Z: The validation of the token for application/identity completed with the following results:

2024-09-23T14:29:17.534Z: Getting development theme... 2024-09-23T14:29:17.861Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842.json?fields=id%2Cname%2Crole%2Cprocessing completed in 325 ms With response headers:

╭─ info ────────────────────────────────────────────────────────────────╮ │ │ │ You're using the new version of shopify theme dev. │ │ │ │ Run shopify theme dev --legacy to switch back to the previous │ │ version. │ │ │ ╰───────────────────────────────────────────────────────────────────────╯

[removed 'reading file at...' logs due to message on character limit ]

╭─ success ─────────────────────────────────────────────────────────────╮ │ │ │ Preview your theme │ │ • http://127.0.0.1:9292 [1] │ │ │ │ Next steps │ │ • Customize your theme at the theme editor [2] │ │ • Share your theme preview [3] (https://the-pages-media-webinars. │ │ myshopify.com/?preview_theme_id=137376071842) │ │ │ ╰───────────────────────────────────────────────────────────────────────╯ [1] http://127.0.0.1:9292 [2] https://the-pages-media-webinars.myshopify.com/admin/themes/137376071 842/editor [3] https://the-pages-media-webinars.myshopify.com/?preview_theme_id=1373 76071842

2024-09-23T14:29:19.138Z: Running system process: · Command: npm prefix · Working directory: /Users/taylorpage/Testing/ShopifyCLICommands

2024-09-23T14:29:19.249Z: Obtaining the dependency manager in directory /Users/taylorpage/Testing/ShopifyCLICommands... 2024-09-23T14:29:19.358Z: Running system process: · Command: ruby -v · Working directory: /Users/taylorpage/Testing/ShopifyCLICommands

2024-09-23T14:29:19.593Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 128 ms With response headers:

2024-09-23T14:29:19.593Z: Analytics event sent: { "command": "theme dev", "time_start": 1727101756528, "time_end": 1727101759133, "total_time": 2605, "success": true, "cli_version": "3.67.1", "ruby_version": "3.2.2", "node_version": "22.4.1", "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": "c28c0222f9a1afaae2a40cda5d8351d493ef5f6c", "env_cloud": "localhost", "env_package_manager": "unknown", "env_is_global": true, "cmd_app_warning_api_key_deprecation_displayed": false, "cmd_all_timing_network_ms": 2475, "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": "8b61cadb689dd9a15c5604d6178160df03b65e78", "cmd_all_timing_active_ms": 129, "cmd_all_exit": "ok", "args": "-s the-pages-media-webinars --verbose", "env_plugin_installed_all": "[\"@shopify/cli\"]", "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}" } 2024-09-23T14:29:19.593Z: Completed command theme dev 2024-09-23T14:29:19.646Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 527 ms With response headers:

2024-09-23T14:29:19.647Z: File Upload Results: -locales/es.schema.json: success 2024-09-23T14:29:19.713Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 597 ms With response headers:

2024-09-23T14:29:19.713Z: File Upload Results: -locales/fi.json: success -locales/cs.schema.json: success 2024-09-23T14:29:19.715Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 601 ms With response headers:

2024-09-23T14:29:19.715Z: File Upload Results: -locales/en.default.json: success -locales/de.schema.json: success 2024-09-23T14:29:19.819Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 701 ms With response headers:

2024-09-23T14:29:19.820Z: File Upload Results: -locales/fr.json: success -locales/da.schema.json: success 2024-09-23T14:29:19.829Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 709 ms With response headers:

2024-09-23T14:29:19.829Z: File Upload Results: -locales/es.json: success -locales/hr.json: success -locales/fi.schema.json: success 2024-09-23T14:29:19.965Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 853 ms With response headers:

2024-09-23T14:29:19.967Z: File Upload Results: -locales/bg.json: success -locales/cs.json: success -locales/da.json: success -locales/de.json: success -locales/el.json: success 2024-09-23T14:29:20.717Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 581 ms With response headers:

2024-09-23T14:29:20.719Z: File Upload Results: -locales/pl.json: success -locales/pt-BR.json: success -locales/nl.schema.json: success 2024-09-23T14:29:20.740Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 616 ms With response headers:

2024-09-23T14:29:20.741Z: File Upload Results: -locales/hu.json: success -locales/id.json: success -locales/it.json: success -locales/en.default.schema.json: success 2024-09-23T14:29:20.782Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 644 ms With response headers:

2024-09-23T14:29:20.783Z: File Upload Results: -locales/pl.schema.json: success -locales/nb.schema.json: success 2024-09-23T14:29:20.911Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 780 ms With response headers:

2024-09-23T14:29:20.912Z: File Upload Results: -locales/ko.json: success -locales/lt.json: success -locales/nb.json: success -locales/nl.json: success -locales/it.schema.json: success 2024-09-23T14:29:20.922Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 794 ms With response headers:

2024-09-23T14:29:20.922Z: File Upload Results: -locales/ja.json: success -locales/fr.schema.json: success 2024-09-23T14:29:21.430Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 1296 ms With response headers:

2024-09-23T14:29:21.432Z: File Upload Results: -locales/ja.schema.json: success -locales/ko.schema.json: success 2024-09-23T14:29:21.661Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 506 ms With response headers:

2024-09-23T14:29:21.662Z: File Upload Results: -locales/tr.schema.json: success -locales/zh-TW.json: success 2024-09-23T14:29:21.671Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 527 ms With response headers:

2024-09-23T14:29:21.671Z: File Upload Results: -locales/pt-PT.json: success -locales/pt-BR.schema.json: success 2024-09-23T14:29:21.751Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 601 ms With response headers:

2024-09-23T14:29:21.752Z: File Upload Results: -locales/th.json: success -locales/tr.json: success -locales/sv.schema.json: success 2024-09-23T14:29:21.772Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 625 ms With response headers:

2024-09-23T14:29:21.774Z: File Upload Results: -locales/ro.json: success -locales/ru.json: success -locales/sk.json: success -locales/sl.json: success -locales/sv.json: success 2024-09-23T14:29:21.909Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 756 ms With response headers:

2024-09-23T14:29:21.910Z: File Upload Results: -locales/vi.json: success -locales/zh-CN.json: success -locales/pt-PT.schema.json: success 2024-09-23T14:29:22.533Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 361 ms With response headers:

2024-09-23T14:29:22.534Z: File Upload Results: -sections/footer-group.json: success -sections/header-group.json: success 2024-09-23T14:29:22.534Z: Uploading the following files: -templates/404.json -templates/article.json -templates/blog.json -templates/collection.json -templates/cart.json -templates/index.json -templates/list-collections.json -templates/page.contact.json -templates/page.json -templates/password.json 2024-09-23T14:29:22.534Z: Uploading the following files: -templates/product.json -templates/search.json -templates/customers/account.json -templates/customers/activate_account.json -templates/customers/addresses.json -templates/customers/order.json -templates/customers/register.json -templates/customers/login.json -templates/customers/reset_password.json 2024-09-23T14:29:22.691Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 524 ms With response headers:

2024-09-23T14:29:22.693Z: File Upload Results: -locales/zh-TW.schema.json: success -locales/th.schema.json: success 2024-09-23T14:29:22.770Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 599 ms With response headers:

2024-09-23T14:29:22.772Z: File Upload Results: -assets/custom-styles.css: success 2024-09-23T14:29:22.866Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 703 ms With response headers:

2024-09-23T14:29:22.867Z: File Upload Results: -locales/zh-CN.schema.json: success -locales/vi.schema.json: success 2024-09-23T14:29:23.186Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 651 ms With response headers:

2024-09-23T14:29:23.188Z: File Upload Results: -templates/product.json: success -templates/search.json: success -templates/customers/account.json: success -templates/customers/activate_account.json: success -templates/customers/addresses.json: success -templates/customers/order.json: success -templates/customers/register.json: success -templates/customers/login.json: success -templates/customers/reset_password.json: success 2024-09-23T14:29:23.667Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 1133 ms With response headers:

2024-09-23T14:29:23.668Z: File Upload Results: -templates/404.json: success -templates/article.json: success -templates/blog.json: success -templates/collection.json: success -templates/cart.json: success -templates/index.json: success -templates/list-collections.json: success -templates/page.contact.json: success -templates/page.json: success -templates/password.json: success 2024-09-23T14:29:23.670Z: Files to be deleted:

GET / 2024-09-23T14:29:27.001Z: → Rendering https://the-pages-media-webinars.myshopify.com/?_fd=0&pb=0 (with )... 2024-09-23T14:29:27.357Z: Request to https://the-pages-media-webinars.myshopify.com/?_fd=0&pb=0 completed in 355 ms With response headers:

2024-09-23T14:29:27.358Z: ← 200 (request_id: f3f0d857-8599-44e0-b654-ba0a3e001255-1727101767) GET /collections/all 2024-09-23T14:29:32.859Z: → Rendering https://the-pages-media-webinars.myshopify.com/collections/all?_fd=0&pb=0 (with )... 2024-09-23T14:29:33.361Z: Request to https://the-pages-media-webinars.myshopify.com/collections/all?_fd=0&pb=0 completed in 501 ms With response headers:

2024-09-23T14:29:33.361Z: ← 200 (request_id: ec1f6071-f5b3-4e3c-a76a-25e37ffdf198-1727101773) GET /products/zipped-jacket 2024-09-23T14:29:38.321Z: → Rendering https://the-pages-media-webinars.myshopify.com/products/zipped-jacket?_fd=0&pb=0 (with )... 2024-09-23T14:29:38.613Z: Request to https://the-pages-media-webinars.myshopify.com/products/zipped-jacket?_fd=0&pb=0 completed in 291 ms With response headers:

2024-09-23T14:29:38.614Z: ← 200 (request_id: 8a9a5643-d55e-4cd4-8c44-c6e4febf2d61-1727101778) GET /recommendations/products?limit=4&product_id=7746476572834&section_id=template--17166537490594related-products 2024-09-23T14:29:38.788Z: → Rendering https://the-pages-media-webinars.myshopify.com/recommendations/products?_fd=0&pb=0&limit=4&product_id=7746476572834&section_id=template--17166537490594__related-products (with )... 2024-09-23T14:29:39.001Z: Request to https://the-pages-media-webinars.myshopify.com/recommendations/products?_fd=0&pb=0&limit=4&product_id=7746476572834&section_id=template--17166537490594related-products completed in 212 ms With response headers:

2024-09-23T14:29:39.001Z: ← 200 (request_id: 3af0991a-bcae-46fc-84f3-c1ea0909ec15-1727101778) GET /products/zipped-jacket 2024-09-23T14:30:05.847Z: → Rendering https://the-pages-media-webinars.myshopify.com/products/zipped-jacket?_fd=0&pb=0 (with )... 2024-09-23T14:30:06.158Z: Request to https://the-pages-media-webinars.myshopify.com/products/zipped-jacket?_fd=0&pb=0 completed in 309 ms With response headers:

2024-09-23T14:30:06.158Z: ← 200 (request_id: 37787887-1c6f-460a-a0d4-f60ee13a3e4b-1727101805) GET /recommendations/products?limit=4&product_id=7746476572834&section_id=template--17166537490594related-products 2024-09-23T14:30:06.356Z: → Rendering https://the-pages-media-webinars.myshopify.com/recommendations/products?_fd=0&pb=0&limit=4&product_id=7746476572834&section_id=template--17166537490594__related-products (with )... 2024-09-23T14:30:06.543Z: Request to https://the-pages-media-webinars.myshopify.com/recommendations/products?_fd=0&pb=0&limit=4&product_id=7746476572834&section_id=template--17166537490594related-products completed in 186 ms With response headers:

2024-09-23T14:30:06.543Z: ← 200 (request_id: e382a8a5-482f-493a-8f1d-b6fe7d077168-1727101806) GET /cart 2024-09-23T14:30:08.090Z: → Rendering https://the-pages-media-webinars.myshopify.com/cart?_fd=0&pb=0 (with )... 2024-09-23T14:30:08.321Z: Request to https://the-pages-media-webinars.myshopify.com/cart?_fd=0&pb=0 completed in 230 ms With response headers:

2024-09-23T14:30:08.322Z: ← 200 (request_id: fb4e26a5-ee5e-4c6c-b4a0-f6ae1fed5b07-1727101808) GET /cart 2024-09-23T14:30:25.582Z: → Rendering https://the-pages-media-webinars.myshopify.com/cart?_fd=0&pb=0 (with )... 2024-09-23T14:30:25.998Z: Request to https://the-pages-media-webinars.myshopify.com/cart?_fd=0&pb=0 completed in 414 ms With response headers:

2024-09-23T14:30:25.998Z: ← 200 (request_id: 994bb7ac-b7c7-4993-ba82-c9a784f498c7-1727101825) GET /collections/all 2024-09-23T14:30:42.461Z: → Rendering https://the-pages-media-webinars.myshopify.com/collections/all?_fd=0&pb=0 (with )... 2024-09-23T14:30:42.824Z: Request to https://the-pages-media-webinars.myshopify.com/collections/all?_fd=0&pb=0 completed in 362 ms With response headers:

2024-09-23T14:30:42.824Z: ← 200 (request_id: 9dae5881-0cc0-4e6e-91b8-36fd4bce016c-1727101842) GET /products/yellow-wool-jumper 2024-09-23T14:30:44.437Z: → Rendering https://the-pages-media-webinars.myshopify.com/products/yellow-wool-jumper?_fd=0&pb=0 (with )... 2024-09-23T14:30:44.714Z: Request to https://the-pages-media-webinars.myshopify.com/products/yellow-wool-jumper?_fd=0&pb=0 completed in 277 ms With response headers:

2024-09-23T14:30:44.715Z: ← 200 (request_id: a10b9af0-c3a8-4660-81e4-2236cbbdd80b-1727101844) GET /recommendations/products?limit=4&product_id=7746476310690&section_id=template--17166537490594related-products 2024-09-23T14:30:44.887Z: → Rendering https://the-pages-media-webinars.myshopify.com/recommendations/products?_fd=0&pb=0&limit=4&product_id=7746476310690&section_id=template--17166537490594__related-products (with )... 2024-09-23T14:30:45.106Z: Request to https://the-pages-media-webinars.myshopify.com/recommendations/products?_fd=0&pb=0&limit=4&product_id=7746476310690&section_id=template--17166537490594related-products completed in 219 ms With response headers:

2024-09-23T14:30:45.107Z: ← 200 (request_id: 770c94be-bfb2-43dc-bc52-379a30c2cd67-1727101844)

Reproduction steps

  1. Run shopify theme dev -s store-name on Dawn
  2. Add product to cart and/or update quantity on cart page

Operating System

Mac OS Sonoma 14.6.1

Shopify CLI version (check your project's package.json if you're not sure)

3.67.1

Shell

zsh

Node version (run node -v if you're not sure)

v22.4.1

What language and version are you using in your application?

No response

frandiox commented 1 week ago

Fixed by #4497 as mentioned in https://github.com/Shopify/cli/pull/4497#issuecomment-2369639724 You can use this version for now until the next official release: https://github.com/Shopify/cli/pull/4494#issuecomment-2363872704 (or use the nightly release listed in NPM).

Closing but feel free to reopen if you still find issues.

frandiox commented 1 week ago

@tpage99 Oh somehow I thought you wrote this comment but I 've realized now it wasn't you. I think you created this issue after testing the current release so I'm going to re-open it again.

tpage99 commented 1 week ago

@frandiox correct, I was using the snapshot version mentioned in #4494 and still running into this issue. Used clean install of Dawn 15.1.0 to reproduce borked cart interactions.

andrewhawkes commented 6 days ago

Just updated the shopify-cli via brew and ran into this issue. Is there a version of the package I can roll back to in the time being via brew?

mrpunkin commented 4 days ago

I just tested my theme using the snapshot version mentioned in #4494 as well and still running into the issues I outlined in the issue I opened last week: #4488. Also can confirm those issues exist in 3.67.2 as well as the snapshot specific version.

rbarreca commented 3 days ago

Also still facing this in 3.67.2. Using --legacy flag works around it for now.

tpage99 commented 21 hours ago

Just updated to 3.67.3 and still seeing the same sort of behavior/issues. Running --legacy flag fixes everything 😞

Image

Image

Verbose Logs

this is not on Dawn reproduction for sake of time so removed some client info

2024-09-30T15:31:06.412Z:
Running system process:
  · Command: npm prefix
  · Working directory: /Users/taylorpage/Client-Work/xxxx

2024-09-30T15:31:06.519Z: Obtaining the dependency manager in directory /Users/taylorpage/Client-Work/xxxx
2024-09-30T15:31:06.615Z:
Running system process:
  · Command: ruby -v
  · Working directory: /Users/taylorpage/Client-Work/xxxx

GET /products/product-handle?variant=41537853653076
2024-09-30T15:31:06.701Z: → Rendering https://store-handle.myshopify.com/products/product-handle?_fd=0&pb=0&variant=41537853653076 (with )...
2024-09-30T15:31:06.891Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 169 ms
With response headers:
 - x-request-id: 0a3a7e2f-67c1-4298-ac44-592318e86a60

2024-09-30T15:31:06.891Z: Analytics event sent: {
  "command": "theme dev",
  "time_start": 1727710263686,
  "time_end": 1727710266408,
  "total_time": 2722,
  "success": true,
  "cli_version": "3.67.3",
  "ruby_version": "3.2.2",
  "node_version": "22.4.1",
  "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": "c28c0222f9a1afaae2a40cda5d8351d493ef5f6c",
  "env_cloud": "localhost",
  "env_package_manager": "unknown",
  "env_is_global": true,
  "cmd_app_warning_api_key_deprecation_displayed": false,
  "cmd_all_timing_network_ms": 2606,
  "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": "ed85afbcc8b4ff1fe933dfede1504f9b013ecd43",
  "cmd_all_timing_active_ms": 115,
  "cmd_all_exit": "ok",
  "args": "-s store-handle --verbose",
  "env_plugin_installed_all": "[\"@shopify/cli\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2024-09-30T15:31:06.891Z: Completed command theme dev
2024-09-30T15:31:07.038Z: Request to https://store-handle.myshopify.com/products/product-handle?_fd=0&pb=0&variant=41537853653076 completed in 337 ms
With response headers:
 - cache-control: no-cache, no-store
 - content-type: text/html; charset=utf-8
 - server-timing: processing;dur=246;desc="gc:10", db;dur=51, edge_cart;dur=1.87;desc="trips=1", parse;dur=23, render;dur=102, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="128835453012", pageType;desc="product", servedBy;desc="6kgb", requestID;desc="ae3a4f85-0b5c-4d66-bd6e-2de875cf16ad-1727710266", cfRequestDuration;dur=305.000067
 - x-request-id: ae3a4f85-0b5c-4d66-bd6e-2de875cf16ad-1727710266

2024-09-30T15:31:07.039Z: ← 200 (request_id: ae3a4f85-0b5c-4d66-bd6e-2de875cf16ad-1727710266)
GET /products/product-handle?variant=41537853653076
2024-09-30T15:31:10.195Z: → Rendering https://store-handle.myshopify.com/products/product-handle?_fd=0&pb=0&variant=41537853653076 (with )...
2024-09-30T15:31:10.512Z: Request to https://store-handle.myshopify.com/products/product-handle?_fd=0&pb=0&variant=41537853653076 completed in 316 ms
With response headers:
 - cache-control: no-cache, no-store
 - content-type: text/html; charset=utf-8
 - server-timing: processing;dur=221;desc="gc:35", db;dur=30, edge_cart;dur=1.41;desc="trips=1", parse;dur=15, render;dur=95, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="128835453012", pageType;desc="product", servedBy;desc="gbhf", requestID;desc="6ef6c17b-7096-46b9-b0de-540dca40fb47-1727710270", cfRequestDuration;dur=277.999878
 - x-request-id: 6ef6c17b-7096-46b9-b0de-540dca40fb47-1727710270

2024-09-30T15:31:10.512Z: ← 200 (request_id: 6ef6c17b-7096-46b9-b0de-540dca40fb47-1727710270)