This also worked for me thank you Liam! (after two weeks of running in circles)
Also note that after running “deploy” in your dev environment, the new app version must be successfully “released” also (or you have some things to fix first).
Success output may look loke this:
npm run deploy
[email removed] deploy
shopify app deploy
╭─ info ───────────────────────────────────────────────────────────────────────╮
│ │
│ Using .env.tdy-checkout: │
│ │
│ • Org: Teledyne Technologies Incorporated │
│ • App: tdy-checkout │
│ │
│ You can pass --reset
to your command to reset your app configuration. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ warning ────────────────────────────────────────────────────────────────────╮
│ │
│ npm run deploy
now releases changes to users. │
│ │
│ All your extensions will be released to users, unless you add the │
? Release a new version of tdy-checkout?
? Release a new version of tdy-checkout?
┃ Includes:
┃ + tdy-checkout-ui (new)
┃ Includes:
┃ + tdy-checkout-ui (new)
(y) Yes, release this new version
(n) No, cancel
Press ↑↓ arrows to select, enter or a shortcut to confirm.
? Release a new version of tdy-checkout?
Yes, release this new version
Releasing a new app version as part of tdy-checkout
tdy-checkout-ui │ Bundling UI extension tdy-checkout-ui…
tdy-checkout-ui │ tdy-checkout-ui successfully built
╭─ success ────────────────────────────────────────────────────────────────────╮
│ │
│ New version released to users. │
│ │
│ tdy-checkout-2 [1] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯