Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: npm run deploy isn't working. #4542

Closed
2 tasks done
niinpatel opened this issue Sep 28, 2024 · 1 comment
Closed
2 tasks done

[Bug]: npm run deploy isn't working. #4542

niinpatel opened this issue Sep 28, 2024 · 1 comment
Labels
Type: Bug Something isn't working

Comments

@niinpatel
Copy link

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Extension

Expected behavior

When I run npm run deploy the extensions should get updated.

Actual behavior

It didn't work. There is no error message on terminal & it says it's succesfully pushed but it's actually never pushed.For example I pushed today Sep 28 but Live version is Sep 25
Image

Verbose output

│ │
│ Using .env for default values: │
│ │
│ • Org: Akia Tech │
│ • App: Checkout Custom Fields by Akia │
│ • Include config: Yes │
│ │
│ You can pass --reset to your command to reset your app configuration. │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

? Release a new version of Checkout Custom Fields by Akia?
✔ Yes, release this new version

Releasing a new app version as part of Checkout Custom Fields by Akia

        custom-fields │ Bundling UI extension custom-fields...
               banner │ Bundling UI extension banner...
               banner │ banner successfully built
        custom-fields │ custom-fields successfully built

╭─ success ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ New version released to users. │
│ │
│ checkout-custom-fields-by-akia-33 [1] │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
[1] https://partners.shopify.com/2745565/apps/24409735169/versions/372488765441

Reproduction steps

  1. npm run deploy

Operating System

Mac OS

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

^3.67.2

Shell

zsh

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

v22.9.0

What language and version are you using in your application?

Javascript

@niinpatel niinpatel added the Type: Bug Something isn't working label Sep 28, 2024
@isaacroldan
Copy link
Contributor

Hi @niinpatel, the values are actually correct, but it is indeed a bit confusing.

There are two places in the dashboard where you can check the latest updated version of an extension:

  • Extensions tab (this is the one you are seeing). This one is updated when using app dev, so the "Last Updated" value doesn't change when running app deploy.
  • Versions -> active version. This is the real version that your users are getting. And in there you can see that the "Last updated" value makes more sense :)

So, don't worry, deploy is working, and your users are getting the latest version of your extensions!

We are working on improving this to make it less confusing 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants