Unable to update CLI from 3.47.3 to 3.53.0

Solved

Unable to update CLI from 3.47.3 to 3.53.0

den232
Shopify Partner
213 8 55

On a win machine, I am trying to update CLI.  The update reports success, but the version is not actually changed!  Please advise.  Thanks jb

 

shopify version
Current Shopify CLI version: 3.47.3
💡 Version 3.53.0 available!

 

shopify upgrade
Upgrading CLI from 3.47.3 to 3.53.0...
Installing @Shopify/cli@latest,@shopify/app@latest with npmnpm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'D:\\Dropbox\\0-2023-sd\\sdapp17\\node_modules\\vite\\node_modules\\@esbuild\\freebsd-x64',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'D:\Dropbox\0-2023-sd\sdapp17\node_modules\vite\node_modules\@esbuild\freebsd-x64'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'D:\\Dropbox\\0-2023-sd\\sdapp17\\node_modules\\vite\\node_modules\\@esbuild\\freebsd-x64'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]

up to date, audited 1283 packages in 19s

186 packages are looking for funding
run `npm fund` for details

3 moderate severity vulnerabilities

To address all issues, run:
npm audit fix

Run `npm audit` for details.
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'D:\\Dropbox\\0-2023-sd\\sdapp17\\node_modules\\vite\\node_modules\\@esbuild\\freebsd-x64',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'D:\Dropbox\0-2023-sd\sdapp17\node_modules\vite\node_modules\@esbuild\freebsd-x64'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'D:\\Dropbox\\0-2023-sd\\sdapp17\\node_modules\\vite\\node_modules\\@esbuild\\freebsd-x64'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]

changed 1 package, and audited 1283 packages in 2s

186 packages are looking for funding
run `npm fund` for details

3 moderate severity vulnerabilities

To address all issues, run:
npm audit fix

Run `npm audit` for details.
Success! Upgraded Shopify CLI to version 3.53.0.

 

Then requesting the current version:

 

shopify version
Current Shopify CLI version: 3.47.3
💡 Version 3.53.0 available!

 

Accepted Solution (1)

den232
Shopify Partner
213 8 55

This is an accepted solution.

Update ... although a reboot did not improve the result, a reboot followed by performing first a CLI uninstall, then in an admin command window worked!

 

Current Shopify CLI version: 3.53.1

View solution in original post

Reply 1 (1)

den232
Shopify Partner
213 8 55

This is an accepted solution.

Update ... although a reboot did not improve the result, a reboot followed by performing first a CLI uninstall, then in an admin command window worked!

 

Current Shopify CLI version: 3.53.1