I think I’m getting the same problem here when trying to update on an installation of LOCAL on Windows.
Results in: “Update Failed: Could not create directory. woocommerce/packages/woocommerce-admin/dist/analytics-report-categories~analytics-report-coupons~analytics-report-customers~analytics-report-dow~99eefb40”
I believe this is because of the rediculously long directory name which goes over the limit for filepath names for Windows? I often ancounter this prob when trying to unzip plugins etc if not down down near the root of the Windows file structure. Most devs are only familiar with using Mac, presumeably?
Are you able to unpack the plugin near the root of your drive and move the files to the plugins folder manually?
Ren
Aha! This may be a solution?
I’ll have to upgrade my server to Win 10 first to test – will report back here if successful 🙂
https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/
laceyrod
(@laceyrod)
Automattic Happiness Engineer
Howdy,
This thread has been inactive for a bit, so I’m going to go ahead and close it out. Please feel free to open a new one if you’re still continuing to have troubles.
Cheers!