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

Shopify Upgrade Succeeds, but “Version 3.49.7 Available!” Persists

After running: shopify upgrade successfully (prompt: Success! Upgraded Shopify CLI to version 3.49.7.), checking the version information still prompts: Version 3.49.7 available!

1. When running: shopify version, it prompts: Version 3.49.7 available!.

Plaintext

PS E:\wwwroot\shopify-theme\theme-20230922> shopify version
Current Shopify CLI version: 3.49.3
💡 Version 3.49.7 available!

2. After running: shopify upgrade successfully (prompt: Success! Upgraded Shopify CLI to version 3.49.7.), checking the version information still prompts: Version 3.49.7 available!. See Figure 1

After running: shopify upgrade successfully (prompt: Success! Upgraded Shopify CLI to version 3.49.7.), checking the version information still prompts: Version 3.49.7 available!
Figure 1
Plaintext

PS E:\wwwroot\shopify-theme\theme-20230922> shopify upgrade
Upgrading CLI from 3.49.3 to 3.49.7...
Attempting to upgrade via npm install -g @shopify/cli@latest @shopify/theme@latest...

changed 911 packages in 3m

119 packages are looking for funding
run `npm fund` for details
✅ Success! Upgraded Shopify CLI to version 3.49.7.
PS E:\wwwroot\shopify-theme\theme-20230922> shopify version
Current Shopify CLI version: 3.49.3
💡 Version 3.49.7 available!
PS E:\wwwroot\shopify-theme\theme-20230922>

3. I decided to replace npm install -g with yarn global add, and ran: yarn global add @shopify/cli @shopify/theme. After it ran successfully, I checked the version information: Current Shopify CLI version: 3.49.7. This is as expected. See Figure 2

Decided to replace npm install -g with yarn global add, and ran: yarn global add @shopify/cli @shopify/theme. After it ran successfully, checked the version information: Current Shopify CLI version: 3.49.7. This is as expected
Figure 2
Plaintext

PS E:\wwwroot\shopify-theme\theme-20230922> yarn global add @shopify/cli @shopify/theme
yarn global v1.22.15
[1/4] Resolving packages...
[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.7" with binaries:
- shopify
warning "@shopify/theme@3.49.7" has no binaries
Done in 27.75s.
PS E:\wwwroot\shopify-theme\theme-20230922> shopify version
Current Shopify CLI version: 3.49.7

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

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

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

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

关于我  ·  GitHub  ·  邮件联系