3
votes

"electron-builder": "^20.38.5"

Not using electron updater Target: Windows Running electron builder on windows 10 Home

build process cannot package and presents this error cannot move downloaded into final location (another process downloaded faster?) error=rename C:\Users\Developer\AppData\Local\electron-builder\Cache\winCodeSign\105845327 C:\Users\Developer\AppData\Local\electron-builder\Cache\winCodeSign\winCodeSign-2.4.0: Access is denied. path=C:\Users\Developer\AppData\Local\electron-builder\Cache\winCodeSign\winCodeSign-2.4.0 tempFile=C:\Users\Developer\AppData\Local\electron-builder\Cache\winCodeSign\105845327

I have tried to run the process with an administrative window, but still presents the error. I would appreciate any help

3

3 Answers

2
votes

Disable your antivirus. It is blocking the builder from copying the required files. Worked for me

2
votes

Same situation for me but with winCodeSign-2.6.0. Due to company restriction, I could not disable the antivirus. So, the workaround suggested by @Avin Shum works: rename the temporary folder inside winCodeSign folder name from 14617003 to WinCodeSign-2.6.0

1
votes

Just rename the temp folder to the name of the destination folder (in your example C:\Users\Developer\AppData\Local\electron-builder\Cache\winCodeSign\winCodeSign-2.4.0).