Shopify / cli

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

[Bug]: 'shopify app dev' command not updating dev preview with changes #4234

Open Lisa-C-27 opened 1 month ago

Lisa-C-27 commented 1 month ago

Please confirm that you have:

In which of these areas are you experiencing a problem?

App, Extension

Expected behavior

When running the shopify app dev command you should be able to preview development updates on a dev store immediately. In the past have just run shopify app deploy instead and it would immediately update, but this is not viable once the app has been published to a client store.

Actual behavior

Most of the time it is not updating with the newest changes. Sometimes when first running the command it will recognise the first couple of changes and then it will stop recognising changes until maybe coming back and restarting a few hours later.

Verbose output

I tried to do the verbose flag on the shopify app dev command but it is so long the beginning gets cut-off, and keeps updating every few seconds. So not sure which part to try and copy and paste here.

Reproduction steps

  1. Already have an app (checkout extension) connected to a dev store and published to a client store
  2. Run shopify app dev
  3. Make some changes to your extension
  4. Preview your changes
  5. Make some more changes to your extension
  6. Preview your changes again

Operating System

Windows 11

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

3.64.1

Shell

VS terminal

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

v20.13.1

What language and version are you using in your application?

No response

gonzaloriestra commented 1 month ago

Hi, I'm not able to reproduce it.

Could you try with shopify app dev --verbose and share the latest part, right after you start making changes in the code? You should see something like Extension file at path C:\Users\whatever\... changed and then a websocket update event.

Lisa-C-27 commented 1 month ago
08:39:55 │ pre-purchase-product-offe │ 2024-07-24T22:39:55.076Z: Extension file at path C:\Users\lisa\OneDrive\Documents\GitHub\wod-life-app\extensions\pre-purchase-product-offer\src\Checkout.jsx changed
08:39:55 │ pre-purchase-product-offe │ Bundling UI extension pre-purchase-product-offer...
2024-07-24T22:39:55.107Z: Deduplicating React dependency for C:/Users/lisa/OneDrive/Documents/GitHub/wod-life-app/extensions/pre-purchase-product-offer, using C:\Users\lisa\OneDrive\Documents\GitHub\wod-life-app\node_modules\react\index.js
2024-07-24T22:39:55.111Z: Reading the content of file at extensions/pre-purchase-product-offer/shopify.extension.toml...
2024-07-24T22:39:55.121Z: Reading the content of file at extensions/pre-purchase-product-offer/shopify.extension.toml...
2024-07-24T22:39:55.189Z: Sending "Partners" GraphQL request:
query FindAppPreviewMode($apiKey: String!) {
app(apiKey: $apiKey) {
developmentStorePreviewEnabled
}
}

With variables:
{
"apiKey": "*****"
}

With request headers:

User-Agent: Shopify CLI; v=3.64.1
Keep-Alive: timeout=30
Sec-CH-UA-PLATFORM: win32
Content-Type: application/json
08:39:55 │ pre-purchase-product-offe │ pre-purchase-product-offer successfully built
2024-07-24T22:39:55.258Z: Reading the content of file at extensions/pre-purchase-product-offer/dist/pre-purchase-product-offer.js...
08:39:55 │ pre-purchase-product-offe │ 2024-07-24T22:39:55.327Z: The Javascript bundle of the UI extension with ID c56c009c-acf2-4273-9044-fc64eee2cd52 has changed
2024-07-24T22:39:55.334Z: Reading the content of file at extensions/pre-purchase-product-offer/locales/en.default.json...
2024-07-24T22:39:55.335Z: Reading the content of file at extensions/pre-purchase-product-offer/locales/fr.json...
08:39:55 │ pre-purchase-product-offe │ Parsed locales for extension pre-purchase-product-offer at C:/Users/lisa/OneDrive/Documents/GitHub/wod-life-app/extensions/pre-purchase-product-offer
2024-07-24T22:39:55.346Z: Getting last updated timestamp for file at extensions/pre-purchase-product-offer/dist/pre-purchase-product-offer.js...
08:39:55 │ pre-purchase-product-offe │ 2024-07-24T22:39:55.347Z: Sending websocket update event to the websocket clients:
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "event": "update",
08:39:55 │ pre-purchase-product-offe │ "version": "3",
08:39:55 │ pre-purchase-product-offe │ "data": {
08:39:55 │ pre-purchase-product-offe │ "app": {
08:39:55 │ pre-purchase-product-offe │ "title": "wod-life-app",
08:39:55 │ pre-purchase-product-offe │ "apiKey": "ec47fb94b2de797ca0eda0440f5081da",
08:39:55 │ pre-purchase-product-offe │ "url": "https://arkhi-checkout-ext-dev.myshopify.com/admin/oauth/redirect_from_cli?client_id=ec47fb94b2de797ca0eda0440f5081da",
08:39:55 │ pre-purchase-product-offe │ "mobileUrl":
"https://arkhi-checkout-ext-dev.myshopify.com/admin/apps/ec47fb94b2de797ca0eda0440f5081da?shop=arkhi-checkout-ext-dev.myshopify.com&host=YXJraGktY2hlY2tvdXQtZXh0LWRldi5teXNob3BpZnkuY29tL2FkbWluL2FwcHMvZWM0N2ZiOTRiMmRlNzk3Y2EwZWRhMDQ0MGY1MDgxZGE"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "appId": "98216214529",
08:39:55 │ pre-purchase-product-offe │ "version": "3",
08:39:55 │ pre-purchase-product-offe │ "root": {
08:39:55 │ pre-purchase-product-offe │ "url": "https://friendship-gary-viral-fm.trycloudflare.com/extensions"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "socket": {
08:39:55 │ pre-purchase-product-offe │ "url": "wss://friendship-gary-viral-fm.trycloudflare.com/extensions"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "devConsole": {
08:39:55 │ pre-purchase-product-offe │ "url": "https://friendship-gary-viral-fm.trycloudflare.com/extensions/dev-console"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "store": "arkhi-checkout-ext-dev.myshopify.com",
08:39:55 │ pre-purchase-product-offe │ "extensions": [
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "assets": {
08:39:55 │ pre-purchase-product-offe │ "main": {
08:39:55 │ pre-purchase-product-offe │ "name": "main",
08:39:55 │ pre-purchase-product-offe │ "url": "https://friendship-gary-viral-fm.trycloudflare.com/extensions/c56c009c-acf2-4273-9044-fc64eee2cd52/assets/pre-purchase-product-offer.js",
08:39:55 │ pre-purchase-product-offe │ "lastUpdated": 1721860795326
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "capabilities": {
08:39:55 │ pre-purchase-product-offe │ "blockProgress": false,
08:39:55 │ pre-purchase-product-offe │ "networkAccess": false,
08:39:55 │ pre-purchase-product-offe │ "apiAccess": true,
08:39:55 │ pre-purchase-product-offe │ "collectBuyerConsent": {
08:39:55 │ pre-purchase-product-offe │ "smsMarketing": false,
08:39:55 │ pre-purchase-product-offe │ "customerPrivacy": false
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "development": {
08:39:55 │ pre-purchase-product-offe │ "status": "success",
08:39:55 │ pre-purchase-product-offe │ "resource": {
08:39:55 │ pre-purchase-product-offe │ "url": ""
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "root": {
08:39:55 │ pre-purchase-product-offe │ "url": "https://friendship-gary-viral-fm.trycloudflare.com/extensions/c56c009c-acf2-4273-9044-fc64eee2cd52"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "hidden": false,
08:39:55 │ pre-purchase-product-offe │ "localizationStatus": "success"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "extensionPoints": [
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "target": "purchase.checkout.block.render",
08:39:55 │ pre-purchase-product-offe │ "module": "./src/Checkout.jsx",
08:39:55 │ pre-purchase-product-offe │ "metafields": [],
08:39:55 │ pre-purchase-product-offe │ "surface": "checkout",
08:39:55 │ pre-purchase-product-offe │ "root": {
08:39:55 │ pre-purchase-product-offe │ "url": "https://friendship-gary-viral-fm.trycloudflare.com/extensions/c56c009c-acf2-4273-9044-fc64eee2cd52/purchase.checkout.block.render"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "resource": {
08:39:55 │ pre-purchase-product-offe │ "url": ""
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ ],
08:39:55 │ pre-purchase-product-offe │ "localization": {
08:39:55 │ pre-purchase-product-offe │ "defaultLocale": "en",
08:39:55 │ pre-purchase-product-offe │ "translations": {
08:39:55 │ pre-purchase-product-offe │ "fr": {
08:39:55 │ pre-purchase-product-offe │ "welcome": "Bienvenue dans l'extension {{target}}!"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "en": {
08:39:55 │ pre-purchase-product-offe │ "welcome": "Welcome to the {{target}} extension!"
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "lastUpdated": 1721860795337
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "metafields": null,
08:39:55 │ pre-purchase-product-offe │ "type": "ui_extension",
08:39:55 │ pre-purchase-product-offe │ "externalType": "ui_extension",
08:39:55 │ pre-purchase-product-offe │ "uuid": "c56c009c-acf2-4273-9044-fc64eee2cd52",
08:39:55 │ pre-purchase-product-offe │ "surface": "all",
08:39:55 │ pre-purchase-product-offe │ "title": "pre-purchase product offer",
08:39:55 │ pre-purchase-product-offe │ "handle": "pre-purchase-product-offer",
08:39:55 │ pre-purchase-product-offe │ "name": "pre-purchase product offer",
08:39:55 │ pre-purchase-product-offe │ "apiVersion": "2024-01",
08:39:55 │ pre-purchase-product-offe │ "approvalScopes": [
08:39:55 │ pre-purchase-product-offe │ "read_customer_address",
08:39:55 │ pre-purchase-product-offe │ "read_customer_email",
08:39:55 │ pre-purchase-product-offe │ "read_customer_name",
08:39:55 │ pre-purchase-product-offe │ "read_customer_personal_data",
08:39:55 │ pre-purchase-product-offe │ "read_customer_phone",
08:39:55 │ pre-purchase-product-offe │ "write_themes_assets"
08:39:55 │ pre-purchase-product-offe │ ],
08:39:55 │ pre-purchase-product-offe │ "settings": {
08:39:55 │ pre-purchase-product-offe │ "fields": [
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "key": "block_title",
08:39:55 │ pre-purchase-product-offe │ "name": "Title",
08:39:55 │ pre-purchase-product-offe │ "description": "Block Title",
08:39:55 │ pre-purchase-product-offe │ "type": "single_line_text_field"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "key": "product_1",
08:39:55 │ pre-purchase-product-offe │ "name": "Product 1 ID",
08:39:55 │ pre-purchase-product-offe │ "description": "Enter the Product ID for the single-variant product to offer",
08:39:55 │ pre-purchase-product-offe │ "type": "single_line_text_field"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "key": "auto_add_1",
08:39:55 │ pre-purchase-product-offe │ "name": "Auto add product 1",
08:39:55 │ pre-purchase-product-offe │ "type": "boolean"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "key": "product_2",
08:39:55 │ pre-purchase-product-offe │ "name": "Product 2 ID",
08:39:55 │ pre-purchase-product-offe │ "description": "Enter the Product ID for the single-variant product to offer",
08:39:55 │ pre-purchase-product-offe │ "type": "single_line_text_field"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "key": "auto_add_2",
08:39:55 │ pre-purchase-product-offe │ "name": "Auto add product 2",
08:39:55 │ pre-purchase-product-offe │ "type": "boolean"
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ ]
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ ]
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │
08:39:55 │ pre-purchase-product-offe │ 2024-07-24T22:39:55.440Z: Sending websocket with event type update and data:
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "app": {
08:39:55 │ pre-purchase-product-offe │ "title": "wod-life-app",
08:39:55 │ pre-purchase-product-offe │ "apiKey": "ec47fb94b2de797ca0eda0440f5081da",
08:39:55 │ pre-purchase-product-offe │ "url": "https://arkhi-checkout-ext-dev.myshopify.com/admin/oauth/redirect_from_cli?client_id=ec47fb94b2de797ca0eda0440f5081da",
08:39:55 │ pre-purchase-product-offe │ "mobileUrl":
"https://arkhi-checkout-ext-dev.myshopify.com/admin/apps/ec47fb94b2de797ca0eda0440f5081da?shop=arkhi-checkout-ext-dev.myshopify.com&host=YXJraGktY2hlY2tvdXQtZXh0LWRldi5teXNob3BpZnkuY29tL2FkbWluL2FwcHMvZWM0N2ZiOTRiMmRlNzk3Y2EwZWRhMDQ0MGY1MDgxZGE"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "appId": "98216214529",
08:39:55 │ pre-purchase-product-offe │ "version": "3",
08:39:55 │ pre-purchase-product-offe │ "root": {
08:39:55 │ pre-purchase-product-offe │ "url": "https://friendship-gary-viral-fm.trycloudflare.com/extensions"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "socket": {
08:39:55 │ pre-purchase-product-offe │ "url": "wss://friendship-gary-viral-fm.trycloudflare.com/extensions"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "devConsole": {
08:39:55 │ pre-purchase-product-offe │ "url": "https://friendship-gary-viral-fm.trycloudflare.com/extensions/dev-console"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "store": "arkhi-checkout-ext-dev.myshopify.com",
08:39:55 │ pre-purchase-product-offe │ "extensions": [
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "assets": {
08:39:55 │ pre-purchase-product-offe │ "main": {
08:39:55 │ pre-purchase-product-offe │ "name": "main",
08:39:55 │ pre-purchase-product-offe │ "url": "https://friendship-gary-viral-fm.trycloudflare.com/extensions/c56c009c-acf2-4273-9044-fc64eee2cd52/assets/pre-purchase-product-offer.js",
08:39:55 │ pre-purchase-product-offe │ "lastUpdated": 1721860795326
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "capabilities": {
08:39:55 │ pre-purchase-product-offe │ "blockProgress": false,
08:39:55 │ pre-purchase-product-offe │ "networkAccess": false,
08:39:55 │ pre-purchase-product-offe │ "apiAccess": true,
08:39:55 │ pre-purchase-product-offe │ "collectBuyerConsent": {
08:39:55 │ pre-purchase-product-offe │ "smsMarketing": false,
08:39:55 │ pre-purchase-product-offe │ "customerPrivacy": false
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "development": {
08:39:55 │ pre-purchase-product-offe │ "status": "success",
08:39:55 │ pre-purchase-product-offe │ "resource": {
08:39:55 │ pre-purchase-product-offe │ "url": ""
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "root": {
08:39:55 │ pre-purchase-product-offe │ "url": "https://friendship-gary-viral-fm.trycloudflare.com/extensions/c56c009c-acf2-4273-9044-fc64eee2cd52"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "hidden": false,
08:39:55 │ pre-purchase-product-offe │ "localizationStatus": "success"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "extensionPoints": [
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "target": "purchase.checkout.block.render",
08:39:55 │ pre-purchase-product-offe │ "module": "./src/Checkout.jsx",
08:39:55 │ pre-purchase-product-offe │ "metafields": [],
08:39:55 │ pre-purchase-product-offe │ "surface": "checkout",
08:39:55 │ pre-purchase-product-offe │ "root": {
08:39:55 │ pre-purchase-product-offe │ "url": "https://friendship-gary-viral-fm.trycloudflare.com/extensions/c56c009c-acf2-4273-9044-fc64eee2cd52/purchase.checkout.block.render"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "resource": {
08:39:55 │ pre-purchase-product-offe │ "url": ""
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ ],
08:39:55 │ pre-purchase-product-offe │ "localization": {
08:39:55 │ pre-purchase-product-offe │ "defaultLocale": "en",
08:39:55 │ pre-purchase-product-offe │ "translations": {
08:39:55 │ pre-purchase-product-offe │ "fr": {
08:39:55 │ pre-purchase-product-offe │ "welcome": "Bienvenue dans l'extension {{target}}!"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "en": {
08:39:55 │ pre-purchase-product-offe │ "welcome": "Welcome to the {{target}} extension!"
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "lastUpdated": 1721860795337
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ "metafields": null,
08:39:55 │ pre-purchase-product-offe │ "type": "ui_extension",
08:39:55 │ pre-purchase-product-offe │ "externalType": "ui_extension",
08:39:55 │ pre-purchase-product-offe │ "uuid": "c56c009c-acf2-4273-9044-fc64eee2cd52",
08:39:55 │ pre-purchase-product-offe │ "surface": "all",
08:39:55 │ pre-purchase-product-offe │ "title": "pre-purchase product offer",
08:39:55 │ pre-purchase-product-offe │ "handle": "pre-purchase-product-offer",
08:39:55 │ pre-purchase-product-offe │ "name": "pre-purchase product offer",
08:39:55 │ pre-purchase-product-offe │ "apiVersion": "2024-01",
08:39:55 │ pre-purchase-product-offe │ "approvalScopes": [
08:39:55 │ pre-purchase-product-offe │ "read_customer_address",
08:39:55 │ pre-purchase-product-offe │ "read_customer_email",
08:39:55 │ pre-purchase-product-offe │ "read_customer_name",
08:39:55 │ pre-purchase-product-offe │ "read_customer_personal_data",
08:39:55 │ pre-purchase-product-offe │ "read_customer_phone",
08:39:55 │ pre-purchase-product-offe │ "write_themes_assets"
08:39:55 │ pre-purchase-product-offe │ ],
08:39:55 │ pre-purchase-product-offe │ "settings": {
08:39:55 │ pre-purchase-product-offe │ "fields": [
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "key": "block_title",
08:39:55 │ pre-purchase-product-offe │ "name": "Title",
08:39:55 │ pre-purchase-product-offe │ "description": "Block Title",
08:39:55 │ pre-purchase-product-offe │ "type": "single_line_text_field"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "key": "product_1",
08:39:55 │ pre-purchase-product-offe │ "name": "Product 1 ID",
08:39:55 │ pre-purchase-product-offe │ "description": "Enter the Product ID for the single-variant product to offer",
08:39:55 │ pre-purchase-product-offe │ "type": "single_line_text_field"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "key": "auto_add_1",
08:39:55 │ pre-purchase-product-offe │ "name": "Auto add product 1",
08:39:55 │ pre-purchase-product-offe │ "type": "boolean"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "key": "product_2",
08:39:55 │ pre-purchase-product-offe │ "name": "Product 2 ID",
08:39:55 │ pre-purchase-product-offe │ "description": "Enter the Product ID for the single-variant product to offer",
08:39:55 │ pre-purchase-product-offe │ "type": "single_line_text_field"
08:39:55 │ pre-purchase-product-offe │ },
08:39:55 │ pre-purchase-product-offe │ {
08:39:55 │ pre-purchase-product-offe │ "key": "auto_add_2",
08:39:55 │ pre-purchase-product-offe │ "name": "Auto add product 2",
08:39:55 │ pre-purchase-product-offe │ "type": "boolean"
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ ]
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │ ]
08:39:55 │ pre-purchase-product-offe │ }
08:39:55 │ pre-purchase-product-offe │
2024-07-24T22:39:55.825Z: Request to https://partners.shopify.com/api/cli/graphql completed in 633 ms
With response headers:

cache-control: max-age=0, private, must-revalidate
content-type: application/json; charset=utf-8
etag: W/"f9e834f7231872722829cb9dec035749"
x-request-id: d8e68995-c4eb-4611-99e4-96d875c97269-1721860795
08:39:56 │ extensions │ 2024-07-24T22:39:56.091Z: UI extensions server received a GET request to URL /extensions/c56c009c-acf2-4273-9044-fc64eee2cd52/assets/pre-purchase-product-offer.js
2024-07-24T22:39:56.099Z: Checking if extensions/pre-purchase-product-offer/dist/pre-purchase-product-offer.js is a directory...
2024-07-24T22:39:56.101Z: Reading the content of file at extensions/pre-purchase-product-offer/dist/pre-purchase-product-offer.js...
08:39:56 │ extensions │ 2024-07-24T22:39:56.560Z: UI extensions server received a GET request to URL /extensions/c56c009c-acf2-4273-9044-fc64eee2cd52/assets/pre-purchase-product-offer.js.map
2024-07-24T22:39:56.565Z: Checking if extensions/pre-purchase-product-offer/dist/pre-purchase-product-offer.js.map is a directory...
2024-07-24T22:39:56.566Z: Reading the content of file at extensions/pre-purchase-product-offer/dist/pre-purchase-product-offer.js.map...
gonzaloriestra commented 1 month ago

Looking at the log (I've removed some noise from there), it seems that you made a change in src\Checkout.jsx and then it tried to refresh it. Did it fail? Or did you make an additional change that doesn't appear in the log?

If you were able to share a video where you make the change with the console open, it would be very useful.

Lisa-C-27 commented 1 month ago

I think I tried to make a few changes. When I was trying to get the verbose output it kept getting cut off and the first part of the code was a bunch of jibberish (lots of random characters, like 100+ lines of random numbers and letters). I have a video here that I did about a week ago, without the verbose output. The first save I made didn't have the message to say the draft was successfully updated, but on the second save it did. But still does not update the dev preview

Lisa-C-27 commented 1 month ago

@gonzaloriestra just bumping this again as I'm still having issues with this and at a halt on this extension update for a client

gonzaloriestra commented 1 month ago

I'm not able to see the video, could you try to share it in a different way?