Shopify / cli

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

[Bug]: automatically_update_urls_on_dev not updating urls #3739

Closed JacobWennebro closed 4 months ago

JacobWennebro commented 5 months ago

Please confirm that you have:

In which of these areas are you experiencing a problem?

App

Expected behavior

The automatically_update_urls_on_dev flag should update the application url in the toml and Shopify partners panel

Actual behavior

The toml does sync to shopify (verified by manually updating it on the partners panel), but the cloudflared tunnel that gets initiated on npm run dev does not get set as the application url in the panel, which I expect to happen. Seemingly no error shows

Verbose output


jacobwennebro@WLL-MacBook-Pro-Jacob: ~/Documents/wll/shopify master!
$ npm run dev -- --verbose                                           [13:30:37]

> predev
> prisma generate && prisma migrate deploy

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client (v5.12.1) to ./node_modules/@prisma/client in 56ms

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)

import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()

or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)

import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

┌────────────────────────────────────────────────────────────────┐
│  Supercharge your Prisma Client with global database caching,  │
│  scalable connection pooling and real-time database events.    │
│  Explore Prisma Accelerate: https://pris.ly/cli/-accelerate    │
│  Explore Prisma Pulse: https://pris.ly/cli/-pulse              │
└────────────────────────────────────────────────────────────────┘

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "localhost:1337"

3 migrations found in prisma/migrations

No pending migrations to apply.

> dev
> shopify app dev --verbose

2024-04-17T11:30:43.544Z: Running command app dev
2024-04-17T11:30:43.552Z: Getting a random port...
2024-04-17T11:30:43.557Z: Random port obtained: 63497
2024-04-17T11:30:43.680Z: cloudflared already installed, skipping
2024-04-17T11:30:43.682Z: 
Running system process:
  · Command: /Users/jacobwennebro/Documents/wll/shopify/node_modules/@shopify/cli/bin/cloudflared tunnel --url http://localhost:63497 --no-autoupdate
  · Working directory: /Users/jacobwennebro/Documents/wll/shopify

2024-04-17T11:30:43.685Z: Reading cached app information for directory /Users/jacobwennebro/Documents/wll/shopify...
2024-04-17T11:30:43.686Z: Reading cached app information for directory /Users/jacobwennebro/Documents/wll/shopify...
2024-04-17T11:30:43.688Z: Reading cached app information for directory /Users/jacobwennebro/Documents/wll/shopify...
2024-04-17T11:30:43.688Z: Reading the content of file at shopify.app.testing.toml...
2024-04-17T11:30:43.690Z: Reading the content of file at shopify.app.testing.toml...
2024-04-17T11:30:43.692Z: Reading the content of file at shopify.app.testing.toml...
2024-04-17T11:30:43.692Z: Reading the content of file at shopify.app.toml...
2024-04-17T11:30:43.749Z: 2024-04-17T11:30:43Z INF Thank you for trying Cloudflare Tunnel. Doing so, without a Cloudflare account, is a quick way to experiment and try it out. However, be aware that these account-less Tunnels have no uptime guarantee. If you intend to use Tunnels in production you should use a pre-created named tunnel by following: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps
2024-04-17T11:30:43Z INF Requesting new quick Tunnel on trycloudflare.com...

2024-04-17T11:30:43.803Z: Ensuring that the user is authenticated with the Partners API with the following scopes:
[]

2024-04-17T11:30:43.803Z: Getting session store...
2024-04-17T11:30:43.804Z: 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:
{
  "partnersApi": {
    "scopes": []
  }
}

2024-04-17T11:30:43.805Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-04-17T11:30:43.805Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:44.250Z: Request to https://accounts.shopify.com/oauth/introspection completed in 441 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"6071d2566fcb95260b4d970c9c7ee058"
 - x-request-id: 7c7a7b46-9b05-4e72-9871-78c399d4c072-1713353444

2024-04-17T11:30:44.252Z: The identity token is valid: true
2024-04-17T11:30:44.252Z: 
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2024-04-17T11:30:44.253Z: Verifying that the user has a Partner organization
2024-04-17T11:30:44.259Z: Sending "Partners" GraphQL request:
  {
    organizations(first: 1) {
      nodes {
        id
      }
    }
  }

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:44.703Z: Request to https://partners.shopify.com/api/cli/graphql completed in 427 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"696c6f89e8f2dcd3a83f9ca30daf2949"
 - x-request-id: 51cd2cbf-ab30-465a-ab4d-b439dba3150d-1713353444

2024-04-17T11:30:44.707Z: Sending "Partners" GraphQL request:
  query currentAccountInfo {
    currentAccountInfo {
      __typename
      ... on ServiceAccount {
        orgName
      }
      ... on UserAccount {
        email
      }
    }
  }

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:45.151Z: Request to https://partners.shopify.com/api/cli/graphql completed in 441 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"a802dd47ebcfb80c4f53740aa43ae57d"
 - x-request-id: f3960ded-b6e3-459d-bdd0-9b437d36a515-1713353444

2024-04-17T11:30:45.157Z: Sending "Partners" GraphQL request:
  query FindApp($apiKey: String!) {
    app(apiKey: $apiKey) {
      id
      title
      apiKey
      organizationId
      apiSecretKeys {
        secret
      }
      appType
      grantedScopes
      applicationUrl
      redirectUrlWhitelist
      requestedAccessScopes
      webhookApiVersion
      embedded
      posEmbedded
      preferencesUrl
      gdprWebhooks {
        customerDeletionUrl
        customerDataRequestUrl
        shopDeletionUrl
      }
      appProxy {
        subPath
        subPathPrefix
        url
      }
      developmentStorePreviewEnabled
      disabledFlags
    }
  }

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

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:45.887Z: Request to https://partners.shopify.com/api/cli/graphql completed in 727 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"3d6f5f99e131d47978988333e6f31fbd"
 - x-request-id: 763b86ac-86bd-4ac3-96ff-82e5329ba149-1713353445

2024-04-17T11:30:45.893Z: Sending "Partners" GraphQL request:
  query FindOrganization($id: ID!) {
    organizations(id: $id, first: 1) {
      nodes {
        id
        businessName
        website
      }
    }
  }

With variables:
{
  "id": "3577259"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:46.370Z: Request to https://partners.shopify.com/api/cli/graphql completed in 476 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"76ae025b6f73d5dd6c43d666ff0a4a3e"
 - x-request-id: 7d1686bc-16f5-4b0d-ae2f-2eb8c0270454-1713353446

2024-04-17T11:30:46.377Z: Sending "Partners" GraphQL request:
  query FindOrganization($orgId: ID!, $shopDomain: String) {
    organizations(id: $orgId, first: 1) {
      nodes {
        id
        businessName
        website
        stores(shopDomain: $shopDomain, first: 1, archived: false) {
          nodes {
            shopId
            link
            shopDomain
            shopName
            transferDisabled
            convertableToPartnerTest
          }
        }
      }
    }
  }

With variables:
{
  "orgId": "3577259",
  "shopDomain": "quickstart-bbc8e58b.myshopify.com"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:46.383Z: 2024-04-17T11:30:46Z INF +--------------------------------------------------------------------------------------------+

2024-04-17T11:30:46.384Z: 2024-04-17T11:30:46Z INF |  Your quick Tunnel has been created! Visit it at (it may take some time to be reachable):  |
2024-04-17T11:30:46Z INF |  https://firewall-degrees-visible-davidson.trycloudflare.com                               |
2024-04-17T11:30:46Z INF +--------------------------------------------------------------------------------------------+

2024-04-17T11:30:46.384Z: 2024-04-17T11:30:46Z INF Cannot determine default configuration path. No file [config.yml config.yaml] in [~/.cloudflared ~/.cloudflare-warp ~/cloudflare-warp /etc/cloudflared /usr/local/etc/cloudflared]

2024-04-17T11:30:46.384Z: 2024-04-17T11:30:46Z INF Version 2024.2.1

2024-04-17T11:30:46.385Z: 2024-04-17T11:30:46Z INF GOOS: darwin, GOVersion: go1.21.5-devel-cf, GoArch: amd64

2024-04-17T11:30:46.385Z: 2024-04-17T11:30:46Z INF Settings: map[ha-connections:1 no-autoupdate:true protocol:quic url:http://localhost:63497]

2024-04-17T11:30:46.390Z: 2024-04-17T11:30:46Z INF Generated Connector ID: 6beafe5d-2279-4c78-abfa-36ea14e6de20

2024-04-17T11:30:46.517Z: 2024-04-17T11:30:46Z INF Initial protocol quic

2024-04-17T11:30:46.524Z: 2024-04-17T11:30:46Z INF ICMP proxy will use 172.20.10.14 as source for IPv4

2024-04-17T11:30:46.525Z: 2024-04-17T11:30:46Z INF ICMP proxy will use fe80::4b4:8429:7620:c0d4 in zone en0 as source for IPv6

2024-04-17T11:30:46.526Z: 2024-04-17T11:30:46Z INF Created ICMP proxy listening on 172.20.10.14:0

2024-04-17T11:30:46.528Z: 2024-04-17T11:30:46Z INF Created ICMP proxy listening on [fe80::4b4:8429:7620:c0d4%en0]:0

2024-04-17T11:30:46.608Z: 2024-04-17T11:30:46Z INF Starting metrics server on 127.0.0.1:63507/metrics

2024-04-17T11:30:46.848Z: Request to https://partners.shopify.com/api/cli/graphql completed in 469 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"5a3c1e430127f0b594b0fc8e08d19d35"
 - x-request-id: 64c7a375-93ed-46fb-924b-27406624a854-1713353446

2024-04-17T11:30:46.853Z: Sending "Partners" GraphQL request:
  query fetchSpecifications($api_key: String!) {
    extensionSpecifications(apiKey: $api_key) {
      name
      externalName
      externalIdentifier
      identifier
      gated
      experience
      options {
        managementExperience
        registrationLimit
      }
      features {
        argo {
          surface
        }
      }
    }
  }

With variables:
{
  "api_key": "a6ab2bc4b1092d54e1ba36efa2ebace5"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:46.882Z: 2024-04-17T11:30:46Z WRN Your version 2024.2.1 is outdated. We recommend upgrading it to 2024.4.0

2024-04-17T11:30:47.034Z: 2024-04-17T11:30:47Z INF Registered tunnel connection connIndex=0 connection=746e032e-fe01-4ac5-b3b4-072b10686e4f event=0 ip=198.41.200.43 location=arn02 protocol=quic

2024-04-17T11:30:47.342Z: Request to https://partners.shopify.com/api/cli/graphql completed in 488 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"7e6a65a05434faa8dc6f298980a6c5ae"
 - x-request-id: d031614e-9750-4604-92c9-03341068fdf0-1713353447

2024-04-17T11:30:47.347Z: Sending "Partners" GraphQL request:
  query activeAppVersion($apiKey: String!) {
    app(apiKey: $apiKey) {
      activeAppVersion {
        appModuleVersions {
          registrationId
          registrationUuid
          registrationTitle
          type
          config
          specification {
            identifier
            name
            experience
            options {
              managementExperience
            }
          }
        }
      }
    }
  }

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

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:48.018Z: Request to https://partners.shopify.com/api/cli/graphql completed in 669 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"21cf4d08556d461915a33ffc11f73cbd"
 - x-request-id: 24e4a768-50aa-45db-9f95-e6131a3995f4-1713353447

2024-04-17T11:30:48.026Z: Reading cached app information for directory /Users/jacobwennebro/Documents/wll/shopify...
2024-04-17T11:30:48.027Z: Reading the content of file at shopify.app.testing.toml...
2024-04-17T11:30:48.028Z: Reading the content of file at shopify.app.testing.toml...
2024-04-17T11:30:48.030Z: Reading the content of file at shopify.app.testing.toml...
2024-04-17T11:30:48.030Z: Reading the content of file at shopify.app.toml...
2024-04-17T11:30:48.113Z: Reading the content of file at extensions/loyalty-checkout-ui/shopify.extension.toml...
2024-04-17T11:30:48.113Z: Reading the content of file at extensions/loyalty-theme-app-extensions/shopify.extension.toml...
2024-04-17T11:30:48.113Z: Reading the content of file at extensions/loyalty-discount-function/shopify.extension.toml...
2024-04-17T11:30:48.115Z: Reading the content of file at extensions/loyalty-discount-function/shopify.extension.toml...
2024-04-17T11:30:48.116Z: Reading the content of file at extensions/loyalty-checkout-ui/shopify.extension.toml...
2024-04-17T11:30:48.119Z: Reading the content of file at package.json...
2024-04-17T11:30:48.119Z: Reading the content of file at package.json...
2024-04-17T11:30:48.120Z: Obtaining the dependency manager in directory /Users/jacobwennebro/Documents/wll/shopify...
2024-04-17T11:30:48.125Z: Reading the content of file at package.json...
2024-04-17T11:30:48.127Z: Unable to decide project type as no web backend
2024-04-17T11:30:48.128Z: File-writing some content to file at shopify.app.testing.toml...
╭─ info ─────────────────────────────────────────────────────────────────────────────────╮
│                                                                                        │
│  Using shopify.app.testing.toml:                                                       │
│                                                                                        │
│    • Org:             Jacob's testing ground                                           │
│    • App:             testing                                                          │
│    • Dev store:       quickstart-bbc8e58b.myshopify.com                                │
│    • Update URLs:     Yes                                                              │
│                                                                                        │
│   You can pass `--reset` to your command to reset your app configuration.              │
│                                                                                        │
╰────────────────────────────────────────────────────────────────────────────────────────╯

2024-04-17T11:30:48.151Z: Port 3457 is free
2024-04-17T11:30:48.153Z: Polling tunnel status for cloudflare (attempt 0): connected
2024-04-17T11:30:48.153Z: Getting a random port...
2024-04-17T11:30:48.154Z: Random port obtained: 63510
2024-04-17T11:30:48.154Z: Getting a random port...
2024-04-17T11:30:48.154Z: Random port obtained: 63511
2024-04-17T11:30:48.155Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store quickstart-bbc8e58b.myshopify.com:
[]

2024-04-17T11:30:48.155Z: Getting session store...
2024-04-17T11:30:48.156Z: 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": "quickstart-bbc8e58b.myshopify.com"
  }
}

2024-04-17T11:30:48.156Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-04-17T11:30:48.156Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:48.505Z: Request to https://accounts.shopify.com/oauth/introspection completed in 348 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"6071d2566fcb95260b4d970c9c7ee058"
 - x-request-id: ec1973e1-75f0-4d02-8d80-670075a97b6f-1713353448

2024-04-17T11:30:48.506Z: The identity token is valid: true
2024-04-17T11:30:48.506Z: 
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2024-04-17T11:30:48.506Z: Sending "Admin" GraphQL request:
  query {
      publicApiVersions {
        handle
        supported
      }
    }

With variables:
{}

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:48.956Z: Request to https://quickstart-bbc8e58b.myshopify.com/admin/api/unstable/graphql.json completed in 449 ms
With response headers:
 - content-type: application/json; charset=utf-8
 - x-request-id: 4ae42fcf-8b29-422c-be7f-0de1a30a3899-1713353448

2024-04-17T11:30:48.956Z: Sending "Admin" GraphQL request:
  query {
    products(first: 1, query: "published_status:published") {
      edges {
        node {
          id
          variants(first: 1) {
            edges {
              node {
                id
              }
            }
          }
        }
      }
    }
  }

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:49.468Z: Request to https://quickstart-bbc8e58b.myshopify.com/admin/api/2024-04/graphql.json completed in 509 ms
With response headers:
 - content-type: application/json; charset=utf-8
 - x-request-id: acb394b9-6ef0-45a1-b7a4-adc7657da952-1713353449

2024-04-17T11:30:49.472Z: Sending "Partners" GraphQL request:
  query allAppExtensionRegistrations($apiKey: String!) {
    app(apiKey: $apiKey) {
      extensionRegistrations {
        id
        uuid
        title
        type
        draftVersion {
          config
          context
        }
        activeVersion {
          config
          context
        }
      }
      configurationRegistrations {
        id
        uuid
        title
        type
        draftVersion {
          config
          context
        }
        activeVersion {
          config
          context
        }
      }
      dashboardManagedExtensionRegistrations {
        id
        uuid
        title
        type
        activeVersion {
          config
          context
        }
        draftVersion {
          config
          context
        }
      }
    }
  }

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

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:50.851Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1377 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"faf48acf7a988725ec411121743d729d"
 - x-request-id: 3bfde7f1-bd58-4035-ad52-5264cf17975a-1713353449

2024-04-17T11:30:50.861Z: Sending "Partners" GraphQL request:
  query activeAppVersion($apiKey: String!) {
    app(apiKey: $apiKey) {
      activeAppVersion {
        appModuleVersions {
          registrationId
          registrationUuid
          registrationTitle
          type
          config
          specification {
            identifier
            name
            experience
            options {
              managementExperience
            }
          }
        }
      }
    }
  }

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

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:51.529Z: Request to https://partners.shopify.com/api/cli/graphql completed in 665 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"21cf4d08556d461915a33ffc11f73cbd"
 - x-request-id: 14ca4049-ffdc-4237-bcee-6c4d47714703-1713353451

2024-04-17T11:30:51.536Z: Sending "Partners" GraphQL request:
  query activeAppVersion($apiKey: String!) {
    app(apiKey: $apiKey) {
      activeAppVersion {
        appModuleVersions {
          registrationId
          registrationUuid
          registrationTitle
          type
          config
          specification {
            identifier
            name
            experience
            options {
              managementExperience
            }
          }
        }
      }
    }
  }

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

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:52.271Z: Request to https://partners.shopify.com/api/cli/graphql completed in 731 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"21cf4d08556d461915a33ffc11f73cbd"
 - x-request-id: c7a00909-8869-49e9-a4be-9adfafe2177e-1713353451

2024-04-17T11:30:52.275Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store quickstart-bbc8e58b.myshopify.com:
[]

2024-04-17T11:30:52.275Z: Getting session store...
2024-04-17T11:30:52.275Z: 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": "quickstart-bbc8e58b.myshopify.com"
  }
}

2024-04-17T11:30:52.275Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-04-17T11:30:52.275Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:52.625Z: Request to https://accounts.shopify.com/oauth/introspection completed in 349 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"6071d2566fcb95260b4d970c9c7ee058"
 - x-request-id: 209e79a4-6f49-4443-b4d5-5be606c1eca2-1713353452

2024-04-17T11:30:52.627Z: The identity token is valid: true
2024-04-17T11:30:52.627Z: 
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2024-04-17T11:30:52.627Z: Getting host theme...
2024-04-17T11:30:53.224Z: Request to https://quickstart-bbc8e58b.myshopify.com/admin/api/unstable/themes/140691407077.json?fields=id%2Cname%2Crole%2Cprocessing completed in 593 ms
With response headers:
 - content-type: application/json; charset=utf-8
 - x-request-id: b1ede00f-9e4e-4b36-b3be-95dc2c132bba-1713353452

2024-04-17T11:30:53.227Z: Ensuring that the user is authenticated with the Storefront API with the following scopes:
[]

2024-04-17T11:30:53.227Z: Getting session store...
2024-04-17T11:30:53.228Z: 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-04-17T11:30:53.228Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-04-17T11:30:53.229Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:53.234Z: Sending "Partners" GraphQL request:
  query allAppExtensionRegistrations($apiKey: String!) {
    app(apiKey: $apiKey) {
      extensionRegistrations {
        id
        uuid
        title
        type
        draftVersion {
          config
          context
        }
        activeVersion {
          config
          context
        }
      }
      configurationRegistrations {
        id
        uuid
        title
        type
        draftVersion {
          config
          context
        }
        activeVersion {
          config
          context
        }
      }
      dashboardManagedExtensionRegistrations {
        id
        uuid
        title
        type
        activeVersion {
          config
          context
        }
        draftVersion {
          config
          context
        }
      }
    }
  }

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

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:53.586Z: Request to https://accounts.shopify.com/oauth/introspection completed in 356 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"6071d2566fcb95260b4d970c9c7ee058"
 - x-request-id: e651bbfa-511d-4127-9559-26f34f5f6e96-1713353453

2024-04-17T11:30:53.593Z: The identity token is valid: true
2024-04-17T11:30:53.593Z: 
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2024-04-17T11:30:54.229Z: Request to https://partners.shopify.com/api/cli/graphql completed in 992 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"faf48acf7a988725ec411121743d729d"
 - x-request-id: ddeb98fb-6a60-45e5-85cf-72d853f0d596-1713353453

2024-04-17T11:30:54.230Z: Getting a random port...
2024-04-17T11:30:54.232Z: Random port obtained: 63527
2024-04-17T11:30:54.233Z: Storing app information for directory /Users/jacobwennebro/Documents/wll/shopify:{
  "directory": "/Users/jacobwennebro/Documents/wll/shopify",
  "previousAppId": "a6ab2bc4b1092d54e1ba36efa2ebace5"
}
2024-04-17T11:30:54.244Z: Obtaining the dependency manager in directory /Users/jacobwennebro/Documents/wll/shopify...
2024-04-17T11:30:54.247Z: 
Running system process:
  · Command: ruby -v
  · Working directory: /Users/jacobwennebro/Documents/wll/shopify

2024-04-17T11:30:54.593Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 326 ms
With response headers:
 - x-request-id: 3b26ddd4-d8b2-4abc-9a37-fdcf2b7a87b0

2024-04-17T11:30:54.594Z: Analytics event sent: {
  "command": "app dev",
  "time_start": 1713353443544,
  "time_end": 1713353454243,
  "total_time": 10699,
  "success": true,
  "cli_version": "3.59.0",
  "ruby_version": "3.2.2",
  "node_version": "18.14.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": "45d771d800015dc6ba06cd4b036c93f1b0e2b7b8",
  "env_cloud": "localhost",
  "env_package_manager": "yarn",
  "env_is_global": false,
  "cmd_all_timing_network_ms": 10199,
  "cmd_all_timing_prompts_ms": 0,
  "cmd_all_launcher": "npm",
  "cmd_all_topic": "app",
  "cmd_all_plugin": "@shopify/cli",
  "cmd_all_verbose": true,
  "cmd_all_path_override": true,
  "cmd_all_path_override_hash": "aa4aedffee6a2805086b3fadc1d5de4e48bb823d",
  "cmd_app_dependency_installation_skipped": false,
  "cmd_app_reset_used": false,
  "cmd_all_timing_active_ms": 499,
  "cmd_all_exit": "ok",
  "args": "--verbose",
  "env_plugin_installed_all": "[\"@shopify/cli\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2024-04-17T11:30:54.600Z: Sending "Partners" GraphQL request:
  query allAppExtensionRegistrations($apiKey: String!) {
    app(apiKey: $apiKey) {
      extensionRegistrations {
        id
        uuid
        title
        type
        draftVersion {
          config
          context
        }
        activeVersion {
          config
          context
        }
      }
      configurationRegistrations {
        id
        uuid
        title
        type
        draftVersion {
          config
          context
        }
        activeVersion {
          config
          context
        }
      }
      dashboardManagedExtensionRegistrations {
        id
        uuid
        title
        type
        activeVersion {
          config
          context
        }
        draftVersion {
          config
          context
        }
      }
    }
  }

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

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:55.783Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1180 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"faf48acf7a988725ec411121743d729d"
 - x-request-id: 81f1fc16-0871-4952-8363-6547910269e9-1713353454

2024-04-17T11:30:55.804Z: 
Running system process:
  · Command: npm exec -- javy-cli --version
  · Working directory: /Users/jacobwennebro/Documents/wll/shopify

2024-04-17T11:30:55.804Z: Ensuring that the user is authenticated with the Partners API with the following scopes:
[]

13:30:55 │ graphiql   │ 2024-04-17T11:30:55.797Z: Setting up GraphiQL HTTP server on port 3457...
13:30:55 │ graphiql   │ GraphiQL server started on port 3457
2024-04-17T11:30:55.818Z: Getting session store...
2024-04-17T11:30:55.819Z: 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:
{
  "partnersApi": {
    "scopes": []
  }
}

2024-04-17T11:30:55.820Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-04-17T11:30:55.820Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:55.822Z: Reading the content of file at extensions/loyalty-checkout-ui/locales/en.default.json...
2024-04-17T11:30:55.824Z: Sending "Partners" GraphQL request:
  mutation DevelopmentStorePreviewUpdate($input: DevelopmentStorePreviewUpdateInput!) {
    developmentStorePreviewUpdate(input: $input) {
      app {
        id
        developmentStorePreviewEnabled
      }
      userErrors {
        message
        field
      }
    }
  }

With variables:
{
  "input": {
    "apiKey": "a6ab2bc4b1092d54e1ba36efa2ebace5",
    "enabled": true
  }
}

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

13:30:55 │ extensions │ Parsed locales for extension loyalty-checkout-ui at 
/Users/jacobwennebro/Documents/wll/shopify/extensions/loyalty-checkout-ui
2024-04-17T11:30:55.832Z: Getting last updated timestamp for file at extensions/loyalty-checkout-ui/dist/loyalty-checkout-ui.js...
13:30:55 │ extensions │ 2024-04-17T11:30:55.832Z: Setting up the UI extensions HTTP server...
13:30:55 │ extensions │ 2024-04-17T11:30:55.837Z: Setting up the UI extensions Websocket server...
13:30:55 │ extensions │ 2024-04-17T11:30:55.840Z: Setting up the UI extensions bundler and file watching...
2024-04-17T11:30:55.849Z: Unable to load React in /Users/jacobwennebro/Documents/wll/shopify/extensions/loyalty-checkout-ui, skipping React de-duplication
13:30:55 │ extensions │ 2024-04-17T11:30:55.937Z: The Javascript bundle of the UI extension with ID 
dd1153d6-17a6-446c-9938-5ef10fc0190d has changed
2024-04-17T11:30:55.941Z: Reading the content of file at extensions/loyalty-checkout-ui/locales/en.default.json...
13:30:55 │ extensions │ Parsed locales for extension loyalty-checkout-ui at 
/Users/jacobwennebro/Documents/wll/shopify/extensions/loyalty-checkout-ui
2024-04-17T11:30:55.944Z: Getting last updated timestamp for file at extensions/loyalty-checkout-ui/dist/loyalty-checkout-ui.js...
13:30:55 │ extensions │ 2024-04-17T11:30:55.945Z: Sending websocket update event to the websocket clients:
13:30:55 │ extensions │   {
13:30:55 │ extensions │   "event": "update",
13:30:55 │ extensions │   "version": "3",
13:30:55 │ extensions │   "data": {
13:30:55 │ extensions │     "app": {
13:30:55 │ extensions │       "title": "white-label-loyalty",
13:30:55 │ extensions │       "apiKey": "a6ab2bc4b1092d54e1ba36efa2ebace5",
13:30:55 │ extensions │       "url": 
"https://quickstart-bbc8e58b.myshopify.com/admin/oauth/redirect_from_cli?client_id=a6ab2bc4b1092d54e1ba36efa2ebace5",
13:30:55 │ extensions │       "mobileUrl": 
"https://quickstart-bbc8e58b.myshopify.com/admin/apps/a6ab2bc4b1092d54e1ba36efa2ebace5?shop=quickstart-bbc8e58b.myshopify.com&host=cXVp
Y2tzdGFydC1iYmM4ZTU4Yi5teXNob3BpZnkuY29tL2FkbWluL2FwcHMvYTZhYjJiYzRiMTA5MmQ1NGUxYmEzNmVmYTJlYmFjZTU"
13:30:55 │ extensions │     },
13:30:55 │ extensions │     "appId": "105980362753",
13:30:55 │ extensions │     "version": "3",
13:30:55 │ extensions │     "root": {
13:30:55 │ extensions │       "url": "https://firewall-degrees-visible-davidson.trycloudflare.com/extensions"
13:30:55 │ extensions │     },
13:30:55 │ extensions │     "socket": {
13:30:55 │ extensions │       "url": "wss://firewall-degrees-visible-davidson.trycloudflare.com/extensions"
13:30:55 │ extensions │     },
13:30:55 │ extensions │     "devConsole": {
13:30:55 │ extensions │       "url": "https://firewall-degrees-visible-davidson.trycloudflare.com/extensions/dev-console"
13:30:55 │ extensions │     },
13:30:55 │ extensions │     "store": "quickstart-bbc8e58b.myshopify.com",
13:30:55 │ extensions │     "extensions": [
13:30:55 │ extensions │       {
13:30:55 │ extensions │         "assets": {
13:30:55 │ extensions │           "main": {
13:30:55 │ extensions │             "name": "main",
13:30:55 │ extensions │             "url": "https://firewall-degrees-visible-davidson.trycloudflare.com/extensions/dd1153d6-17a6-446c-9
938-5ef10fc0190d/assets/loyalty-checkout-ui.js",
13:30:55 │ extensions │             "lastUpdated": 1713353455937
13:30:55 │ extensions │           }
13:30:55 │ extensions │         },
13:30:55 │ extensions │         "capabilities": {
13:30:55 │ extensions │           "blockProgress": false,
13:30:55 │ extensions │           "networkAccess": true,
13:30:55 │ extensions │           "apiAccess": true,
13:30:55 │ extensions │           "collectBuyerConsent": {
13:30:55 │ extensions │             "smsMarketing": false,
13:30:55 │ extensions │             "customerPrivacy": false
13:30:55 │ extensions │           }
13:30:55 │ extensions │         },
13:30:55 │ extensions │         "development": {
13:30:55 │ extensions │           "status": "success",
13:30:55 │ extensions │           "resource": {
13:30:55 │ extensions │             "url": ""
13:30:55 │ extensions │           },
13:30:55 │ extensions │           "root": {
13:30:55 │ extensions │             "url": 
"https://firewall-degrees-visible-davidson.trycloudflare.com/extensions/dd1153d6-17a6-446c-9938-5ef10fc0190d"
13:30:55 │ extensions │           },
13:30:55 │ extensions │           "hidden": false,
13:30:55 │ extensions │           "localizationStatus": "success"
13:30:55 │ extensions │         },
13:30:55 │ extensions │         "extensionPoints": [
13:30:55 │ extensions │           {
13:30:55 │ extensions │             "target": "purchase.checkout.cart-line-list.render-after",
13:30:55 │ extensions │             "module": "./src/Checkout.tsx",
13:30:55 │ extensions │             "metafields": [],
13:30:55 │ extensions │             "surface": "checkout",
13:30:55 │ extensions │             "root": {
13:30:55 │ extensions │               "url": "https://firewall-degrees-visible-davidson.trycloudflare.com/extensions/dd1153d6-17a6-446c
-9938-5ef10fc0190d/purchase.checkout.cart-line-list.render-after"
13:30:55 │ extensions │             },
13:30:55 │ extensions │             "resource": {
13:30:55 │ extensions │               "url": ""
13:30:55 │ extensions │             }
13:30:55 │ extensions │           }
13:30:55 │ extensions │         ],
13:30:55 │ extensions │         "localization": {
13:30:55 │ extensions │           "defaultLocale": "en",
13:30:55 │ extensions │           "translations": {
13:30:55 │ extensions │             "en": {
13:30:55 │ extensions │               "title": "Some title"
13:30:55 │ extensions │             }
13:30:55 │ extensions │           },
13:30:55 │ extensions │           "lastUpdated": 1713353455941
13:30:55 │ extensions │         },
13:30:55 │ extensions │         "metafields": null,
13:30:55 │ extensions │         "type": "ui_extension",
13:30:55 │ extensions │         "externalType": "ui_extension",
13:30:55 │ extensions │         "uuid": "dd1153d6-17a6-446c-9938-5ef10fc0190d",
13:30:55 │ extensions │         "surface": "all",
13:30:55 │ extensions │         "title": "White Label Loyalty Input",
13:30:55 │ extensions │         "handle": "loyalty-checkout-ui",
13:30:55 │ extensions │         "name": "White Label Loyalty Input",
13:30:55 │ extensions │         "apiVersion": "2023-10",
13:30:55 │ extensions │         "approvalScopes": []
13:30:55 │ extensions │       }
13:30:55 │ extensions │     ]
13:30:55 │ extensions │   }
13:30:55 │ extensions │ }
13:30:55 │ extensions │     
13:30:55 │ extensions │ 2024-04-17T11:30:55.967Z: Sending websocket with event type update and data:
13:30:55 │ extensions │ {
13:30:55 │ extensions │   "app": {
13:30:55 │ extensions │     "title": "white-label-loyalty",
13:30:55 │ extensions │     "apiKey": "a6ab2bc4b1092d54e1ba36efa2ebace5",
13:30:55 │ extensions │     "url": 
"https://quickstart-bbc8e58b.myshopify.com/admin/oauth/redirect_from_cli?client_id=a6ab2bc4b1092d54e1ba36efa2ebace5",
13:30:55 │ extensions │     "mobileUrl": 
"https://quickstart-bbc8e58b.myshopify.com/admin/apps/a6ab2bc4b1092d54e1ba36efa2ebace5?shop=quickstart-bbc8e58b.myshopify.com&host=cXVp
Y2tzdGFydC1iYmM4ZTU4Yi5teXNob3BpZnkuY29tL2FkbWluL2FwcHMvYTZhYjJiYzRiMTA5MmQ1NGUxYmEzNmVmYTJlYmFjZTU"
13:30:55 │ extensions │   },
13:30:55 │ extensions │   "appId": "105980362753",
13:30:55 │ extensions │   "version": "3",
13:30:55 │ extensions │   "root": {
13:30:55 │ extensions │     "url": "https://firewall-degrees-visible-davidson.trycloudflare.com/extensions"
13:30:55 │ extensions │   },
13:30:55 │ extensions │   "socket": {
13:30:55 │ extensions │     "url": "wss://firewall-degrees-visible-davidson.trycloudflare.com/extensions"
13:30:55 │ extensions │   },
13:30:55 │ extensions │   "devConsole": {
13:30:55 │ extensions │     "url": "https://firewall-degrees-visible-davidson.trycloudflare.com/extensions/dev-console"
13:30:55 │ extensions │   },
13:30:55 │ extensions │   "store": "quickstart-bbc8e58b.myshopify.com",
13:30:55 │ extensions │   "extensions": [
13:30:55 │ extensions │     {
13:30:55 │ extensions │       "assets": {
13:30:55 │ extensions │         "main": {
13:30:55 │ extensions │           "name": "main",
13:30:55 │ extensions │           "url": "https://firewall-degrees-visible-davidson.trycloudflare.com/extensions/dd1153d6-17a6-446c-993
8-5ef10fc0190d/assets/loyalty-checkout-ui.js",
13:30:55 │ extensions │           "lastUpdated": 1713353455937
13:30:55 │ extensions │         }
13:30:55 │ extensions │       },
13:30:55 │ extensions │       "capabilities": {
13:30:55 │ extensions │         "blockProgress": false,
13:30:55 │ extensions │         "networkAccess": true,
13:30:55 │ extensions │         "apiAccess": true,
13:30:55 │ extensions │         "collectBuyerConsent": {
13:30:55 │ extensions │           "smsMarketing": false,
13:30:55 │ extensions │           "customerPrivacy": false
13:30:55 │ extensions │         }
13:30:55 │ extensions │       },
13:30:55 │ extensions │       "development": {
13:30:55 │ extensions │         "status": "success",
13:30:55 │ extensions │         "resource": {
13:30:55 │ extensions │           "url": ""
13:30:55 │ extensions │         },
13:30:55 │ extensions │         "root": {
13:30:55 │ extensions │           "url": 
"https://firewall-degrees-visible-davidson.trycloudflare.com/extensions/dd1153d6-17a6-446c-9938-5ef10fc0190d"
13:30:55 │ extensions │         },
13:30:55 │ extensions │         "hidden": false,
13:30:55 │ extensions │         "localizationStatus": "success"
13:30:55 │ extensions │       },
13:30:55 │ extensions │       "extensionPoints": [
13:30:55 │ extensions │         {
13:30:55 │ extensions │           "target": "purchase.checkout.cart-line-list.render-after",
13:30:55 │ extensions │           "module": "./src/Checkout.tsx",
13:30:55 │ extensions │           "metafields": [],
13:30:55 │ extensions │           "surface": "checkout",
13:30:55 │ extensions │           "root": {
13:30:55 │ extensions │             "url": "https://firewall-degrees-visible-davidson.trycloudflare.com/extensions/dd1153d6-17a6-446c-9
938-5ef10fc0190d/purchase.checkout.cart-line-list.render-after"
13:30:55 │ extensions │           },
13:30:55 │ extensions │           "resource": {
13:30:55 │ extensions │             "url": ""
13:30:55 │ extensions │           }
13:30:55 │ extensions │         }
13:30:55 │ extensions │       ],
13:30:55 │ extensions │       "localization": {
13:30:55 │ extensions │         "defaultLocale": "en",
13:30:55 │ extensions │         "translations": {
13:30:55 │ extensions │           "en": {
13:30:55 │ extensions │             "title": "Some title"
13:30:55 │ extensions │           }
13:30:55 │ extensions │         },
13:30:55 │ extensions │         "lastUpdated": 1713353455941
13:30:55 │ extensions │       },
13:30:55 │ extensions │       "metafields": null,
13:30:55 │ extensions │       "type": "ui_extension",
13:30:55 │ extensions │       "externalType": "ui_extension",
13:30:55 │ extensions │       "uuid": "dd1153d6-17a6-446c-9938-5ef10fc0190d",
13:30:55 │ extensions │       "surface": "all",
13:30:55 │ extensions │       "title": "White Label Loyalty Input",
13:30:55 │ extensions │       "handle": "loyalty-checkout-ui",
13:30:55 │ extensions │       "name": "White Label Loyalty Input",
13:30:55 │ extensions │       "apiVersion": "2023-10",
13:30:55 │ extensions │       "approvalScopes": []
13:30:55 │ extensions │     }
13:30:55 │ extensions │   ]
13:30:55 │ extensions │ }
13:30:55 │ extensions │         
2024-04-17T11:30:56.234Z: Request to https://accounts.shopify.com/oauth/introspection completed in 413 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"6071d2566fcb95260b4d970c9c7ee058"
 - x-request-id: 2c9d6f0e-0754-4489-91ae-f2fc83d3baae-1713353456

2024-04-17T11:30:56.234Z: The identity token is valid: true
2024-04-17T11:30:56.234Z: 
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2024-04-17T11:30:56.234Z: Verifying that the user has a Partner organization
2024-04-17T11:30:56.238Z: Sending "Partners" GraphQL request:
  {
    organizations(first: 1) {
      nodes {
        id
      }
    }
  }

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:56.428Z: Request to https://partners.shopify.com/api/cli/graphql completed in 603 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"43f6bda82c0221e92a61f34c5e7d95d6"
 - x-request-id: 65a19fb8-362f-49c3-b418-ccdaa1bad469-1713353455

2024-04-17T11:30:56.685Z: Request to https://partners.shopify.com/api/cli/graphql completed in 446 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"696c6f89e8f2dcd3a83f9ca30daf2949"
 - x-request-id: 64725fe8-b56b-4107-841e-827ff9b2ef17-1713353456

2024-04-17T11:30:56.689Z: 
Running system process:
  · Command: ruby -v
  · Working directory: /Users/jacobwennebro/Documents/wll/shopify

2024-04-17T11:30:56.697Z: 
Running system process:
  · Command: bundle -v
  · Working directory: /Users/jacobwennebro/Documents/wll/shopify

2024-04-17T11:30:56.824Z: Reading the content of file at node_modules/@shopify/cli/dist/assets/cli-ruby/Gemfile...
2024-04-17T11:30:56.826Z: 
Running system process:
  · Command: bundle install
  · Working directory: /Users/jacobwennebro/Documents/wll/shopify/node_modules/@shopify/cli/dist/assets/cli-ruby

2024-04-17T11:30:57.148Z: 
Running system process:
  · Command: bundle exec ruby /Users/jacobwennebro/Documents/wll/shopify/node_modules/@shopify/cli/dist/assets/cli-ruby/bin/shopify theme token --partners atkn_CpgCCNfi_rAGEPea_7AGYokCCAESEGOZhdMbxETrpGreIu_i_ZYaNGh0dHBzOi8vYXBpLnNob3BpZnkuY29tL2F1dGgvcGFydG5lcnMuYXBwLmNsaS5hY2Nlc3MgBSinUzokOGRmNWFiY2ItZDAzYi00OGZhLTlmMDYtNmE4MDI1MGVhZjg5QgdBY2NvdW50ShBbutl3xRFBJo_imboE4W4_UlN7InN1YiI6ImZiZGIyNjQ5LWUzMjctNDkwNy04ZjY3LTkwOGQyNGNmZDdlMyIsImlzcyI6Imh0dHBzOi8vYWNjb3VudHMuc2hvcGlmeS5jb20ifWIQxqtZrgPbQBix1avfWj0Qg2oQQfQVTUZKRSWBBqFbOKZ-WBJA-sNd14wm8thAfgc_lSYPI-EfF0BXwMMpLTjj5u4alrWZaCRy3Ew3_mPyc9q7JQe6kHY-r3oRHNiBkSroFYSiDA
  · Working directory: /Users/jacobwennebro/Documents/wll/shopify

13:30:57 │ extensions │ Bundling UI extension loyalty-checkout-ui...
2024-04-17T11:30:57.528Z: Unable to load React in /Users/jacobwennebro/Documents/wll/shopify/extensions/loyalty-checkout-ui, skipping React de-duplication
13:30:57 │ extensions │ Building function loyalty-discount-function...
13:30:57 │ extensions │ Building GraphQL types...
2024-04-17T11:30:57.534Z: 
Running system process:
  · Command: npm exec -- graphql-code-generator --config package.json
  · Working directory: /Users/jacobwennebro/Documents/wll/shopify/extensions/loyalty-discount-function

2024-04-17T11:30:57.539Z: Sending "Partners" GraphQL request:
  mutation ExtensionUpdateDraft(
    $apiKey: String!
    $registrationId: ID!
    $config: JSON!
    $context: String
    $handle: String
  ) {
    extensionUpdateDraft(
      input: {apiKey: $apiKey, registrationId: $registrationId, config: $config, context: $context, handle: $handle}
    ) {
      userErrors {
        field
        message
      }
    }
  }

With variables:
{
  "apiKey": "*****",
  "config": "{\"name\":\"testing\"}",
  "handle": "branding",
  "context": "",
  "registrationId": "97196408833"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

13:30:57 │ extensions │ loyalty-checkout-ui successfully built
2024-04-17T11:30:57.583Z: Reading the content of file at extensions/loyalty-checkout-ui/dist/loyalty-checkout-ui.js...
2024-04-17T11:30:57.602Z: 
Running system process:
  · Command: ruby -v
  · Working directory: /Users/jacobwennebro/Documents/wll/shopify

2024-04-17T11:30:57.611Z: 
Running system process:
  · Command: bundle -v
  · Working directory: /Users/jacobwennebro/Documents/wll/shopify

2024-04-17T11:30:57.689Z: Sending "Partners" GraphQL request:
  mutation ExtensionUpdateDraft(
    $apiKey: String!
    $registrationId: ID!
    $config: JSON!
    $context: String
    $handle: String
  ) {
    extensionUpdateDraft(
      input: {apiKey: $apiKey, registrationId: $registrationId, config: $config, context: $context, handle: $handle}
    ) {
      userErrors {
        field
        message
      }
    }
  }

With variables:
{
  "apiKey": "*****",
  "config": "{\"scopes\":\"\",\"redirect_url_allowlist\":[\"https://shopify.dev/apps/default-app-home/api/auth\"]}",
  "handle": "app-access",
  "context": "",
  "registrationId": "97196441601"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:57.720Z: Reading the content of file at node_modules/@shopify/cli/dist/assets/cli-ruby/Gemfile...
2024-04-17T11:30:57.723Z: 
Running system process:
  · Command: bundle install
  · Working directory: /Users/jacobwennebro/Documents/wll/shopify/node_modules/@shopify/cli/dist/assets/cli-ruby

2024-04-17T11:30:57.839Z: Sending "Partners" GraphQL request:
  mutation ExtensionUpdateDraft(
    $apiKey: String!
    $registrationId: ID!
    $config: JSON!
    $context: String
    $handle: String
  ) {
    extensionUpdateDraft(
      input: {apiKey: $apiKey, registrationId: $registrationId, config: $config, context: $context, handle: $handle}
    ) {
      userErrors {
        field
        message
      }
    }
  }

With variables:
{
  "apiKey": "*****",
  "config": "{\"api_version\":\"2024-04\"}",
  "handle": "webhooks",
  "context": "",
  "registrationId": "97196474369"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:57.989Z: Sending "Partners" GraphQL request:
  mutation ExtensionUpdateDraft(
    $apiKey: String!
    $registrationId: ID!
    $config: JSON!
    $context: String
    $handle: String
  ) {
    extensionUpdateDraft(
      input: {apiKey: $apiKey, registrationId: $registrationId, config: $config, context: $context, handle: $handle}
    ) {
      userErrors {
        field
        message
      }
    }
  }

With variables:
{
  "apiKey": "*****",
  "config": "{\"embedded\":false}",
  "handle": "point-of-sale",
  "context": "",
  "registrationId": "97196343297"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:58.016Z: 
Running system process:
  · Command: bundle exec ruby /Users/jacobwennebro/Documents/wll/shopify/node_modules/@shopify/cli/dist/assets/cli-ruby/bin/shopify extension serve /Users/jacobwennebro/Documents/wll/shopify/extensions/loyalty-theme-app-extensions --api-key a6ab2bc4b1092d54e1ba36efa2ebace5 --extension-id 97196638209 --extension-title loyalty-microsite-block --extension-type THEME_APP_EXTENSION --theme 140691407077 --generate-tmp-theme
  · Working directory: /Users/jacobwennebro/Documents/wll/shopify

2024-04-17T11:30:58.137Z: Sending "Partners" GraphQL request:
  mutation ExtensionUpdateDraft(
    $apiKey: String!
    $registrationId: ID!
    $config: JSON!
    $context: String
    $handle: String
  ) {
    extensionUpdateDraft(
      input: {apiKey: $apiKey, registrationId: $registrationId, config: $config, context: $context, handle: $handle}
    ) {
      userErrors {
        field
        message
      }
    }
  }

With variables:
{
  "apiKey": "*****",
  "config": "{\"app_url\":\"https://shopify.dev/apps/default-app-home\",\"embedded\":true}",
  "handle": "app-home",
  "context": "",
  "registrationId": "97196376065"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-04-17T11:30:58.208Z: Request to https://partners.shopify.com/api/cli/graphql completed in 669 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"68998c1ebe8616191e40bd4a51eb4d42"
 - x-request-id: 4efe01b6-e88c-4201-8a44-5ba0cd2a2a63-1713353457

13:30:58 │ extensions │ 2024-04-17T11:30:58.210Z: Watching extension: branding for:
13:30:58 │ extensions │ Rebuild and Redeploy Paths:
13:30:58 │ extensions │     
13:30:58 │ extensions │ 
13:30:58 │ extensions │ Redeploy Paths:
13:30:58 │ extensions │     /Users/jacobwennebro/Documents/wll/shopify/shopify.app.testing.toml
2024-04-17T11:30:58.288Z: Sending "Partners" GraphQL request:
  mutation ExtensionUpdateDraft(
    $apiKey: String!
    $registrationId: ID!
    $config: JSON!
    $context: String
    $handle: String
  ) {
    extensionUpdateDraft(
      input: {apiKey: $apiKey, registrationId: $registrationId, config: $config, context: $context, handle: $handle}
    ) {
      userErrors {
        field
        message
      }
    }
  }

Reproduction steps

  1. Add automatically_update_urls_on_dev under [build] in toml
  2. npm run dev

Operating System

Mac OS Ventura

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

3.59.0

Shell

zsh

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

18.14.1

What language and version are you using in your application?

TypeScript / Node 18

shauns commented 4 months ago

Hi @JacobWennebro -- it looks like you have an extension only app. The application URL in that case won't change when you run dev and the tunnel is used solely to facilitate testing. So that would be expected. Let us know if that isn't the case.

JacobWennebro commented 4 months ago

Hi @shauns, I don't believe that is the case. Would this be configured in the code base? For context I received this application from a contractor and am not too familiar with the Shopify ecosystem myself.