When executing: Shopify version, prompt: Version 3.49.3 Available!, but when executing: Shopify Upgrade, it also prompts: No need to upgrade!
1. When executing: Shopify version, prompt: Version 3.49.3 Available!, but when executing: Shopify Upgrade, it also prompts: No need to upgrade!. as shown in Figure 1
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 youRe 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 package globally. Execute again: when Shopify Upgrade, prompt: Upgrading CLI from 3.44.1 to 3.49.3…. in line with expectations. as shown in Figure 2
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 > contacted. contacthttps://www.npmjs.com/supportfor 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... The latest version is "1.22.19", while youRe on "1.22.15". Success Installed "@shopify/cli@3.49.3" with binary: - Shopify WARNING "@shopify/theme@3.49.3" has no binaaries 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 athttps://www.npmjs.com/supportfor 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>

