没有不值得去解决的问题,也没有不值得去学习的技术!

When Running shopify version, It Says Version 3.49.3 Available!, but shopify upgrade Says No Need to Upgrade!

When running: shopify version, it prompts: Version 3.49.3 available!, but when running: shopify upgrade, it prompts: no need to upgrade!

1. When running: shopify version, it prompts: Version 3.49.3 available!, but when running: shopify upgrade, it prompts: no need to upgrade!. See Figure 1

When running: shopify version, it prompts: Version 3.49.3 available!, but when running: shopify upgrade, it prompts: no need to upgrade!
Figure 1
Plaintext

PS E:\wwwroot\shopify-app\app-partner-20230921> shopify version
Current Shopify CLI version: 3.44.1
💡 Version 3.49.3 available!
PS E:\wwwroot\shopify-app\app-partner-20230921> shopify upgrade
You're on the latest version, 3.49.3, no need to upgrade!
PS E:\wwwroot\shopify-app\app-partner-20230921> shopify version
Current Shopify CLI version: 3.44.1
💡 Version 3.49.3 available!
PS E:\wwwroot\shopify-app\app-partner-20230921>

2. Reinstall the @shopify/cli and @shopify/theme Node.js packages globally from the command line. When running: shopify upgrade again, it prompts: Upgrading CLI from 3.44.1 to 3.49.3…. This is as expected. See Figure 2

Reinstall the @shopify/cli and @shopify/theme Node.js packages globally from the command line. When running: shopify upgrade again, it prompts: Upgrading CLI from 3.44.1 to 3.49.3.... This is as expected
Figure 2
Plaintext
PS E:\wwwroot\shopify-theme> yarn global add @shopify/cli @shopify/theme
yarn global v1.22.15
[1/4] Resolving packages...
warning @shopify/cli > @oclif/plugin-plugins > @oclif/color@1.0.11: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@shopify/create-app > @oclif/core > ts-node@10.9.1" has unmet peer dependency "@types/node@*".
warning "@shopify/create-app > @oclif/core > ts-node@10.9.1" has unmet peer dependency "typescript@>=2.7".
warning "@shopify/cli > zod-to-json-schema@3.21.4" has unmet peer dependency "zod@^3.21.4".
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
warning Your current version of Yarn is out of date. The latest version is "1.22.19", while you're on "1.22.15".
success Installed "@shopify/cli@3.49.3" with binaries:
- shopify
warning "@shopify/theme@3.49.3" has no binaries
Done in 36.93s.
PS E:\wwwroot\shopify-theme> ls

Directory: E:\wwwroot\shopify-theme

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        2023/06/14     15:25                .idea
d-----        2023/07/11     15:42                theme-20230308

PS E:\wwwroot\shopify-theme> shopify version
Current Shopify CLI version: 3.44.1
💡 Version 3.49.3 available!
PS E:\wwwroot\shopify-theme> shopify upgrade
Upgrading CLI from 3.44.1 to 3.49.3...
Attempting to upgrade via npm install -g @shopify/cli@latest @shopify/theme@latest...
npm WARN deprecated @oclif/color@1.0.11: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

added 143 packages, removed 44 packages, and changed 751 packages in 2m

118 packages are looking for funding
run `npm fund` for details
✅ Success! Upgraded Shopify CLI to version 3.49.3.
PS E:\wwwroot\shopify-theme>

关于作者 · 持续学习与技术实践

我是一名拥有 15 年以上开发经验的技术从业者,自 2013 年起持续运营个人技术博客,记录工作与个人项目中遇到的真实问题,以及解决问题过程中的探索、实践和思考。

除了技术写作,我也在持续开发和维护自己的独立项目,探索新技术和新工具在实际场景中的应用。我始终相信,没有不值得去解决的问题,也没有不值得去学习的技术。

如果这篇文章对你有所帮助,欢迎浏览博客中的其他文章,也欢迎交流技术经验与想法。

关于我  ·  GitHub  ·  邮件联系