/ electron-packager Public
resources/app folder has broken permissions #402
Running Electron Packager on Windows
Issue reporter needs to provide more information for maintainers to take action
The /resources/app folder can't be deleted because its permissions are somehow broken. I get this error either by trying to package as an asar or when trying to overwrite a previous build when using the Programmatic API with electron-packager installed locally in the folder.
When I use command line using the global package.
After this error occurs, I can delete the app folder myself but I can't using the rmdir Windows command and it returns "Access is Denied". If I check the permissions through the properties window it has the same settings as any other folder. I'm not sure what's causing this error and I've tried investigating but haven't gotten anywhere so far.
I figured it might be problem with npm but I've tried reinstalling npm and nodejs multiple times to no avail.
After the error occurs once with the command line, using it a second time will cause no console output. This can be fixed by deleting the AppData/Local/Temp/electron-packager folder. It gets stuck here because it doesn't have permission to delete the app folder from the previous build.
for the packager() function
for the command line
Although I have tried many other options with no success.
Tried 1.2.1 and 1.2.3
Windows 10 x64
The text was updated successfully, but these errors were encountered: