rcedit.exe failed - unable to commit changes

See original GitHub issue

I’m am using electron-packager 8.5.1 with Electron 1.4.13 (also tried using 1.2.2), attempting to build on Windows 10 for Windows.

I keep getting the following:

λ electron-packager . app --platform=win32 --arch=x64
Packaging app for platform win32 x64 using electron v1.4.13
rcedit.exe failed with exit code 1. Fatal error: Unable to commit changes

While I’m aware that electron-packager comes with rcedit, I’ve downloaded rcedit from the electron/rcedit repos and placed it into my path to ensure I can execute rcedit and it isn’t a pathing issue.

I can’t find much through google or the issues of electron-packager or rcedit, so I was hoping someone would have an idea on what I can do from here.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:46 (12 by maintainers)

github_iconTop GitHub Comments

18reactions
nihalmpatelcommented, Oct 30, 2018

Disabling the Antivirus worked for me!

15reactions
garymcmcommented, Oct 22, 2018

Got the same error:

rcedit.exe failed with exit code 1. Fatal error: Unable to commit changes

  • Disabled McAfee’s real-time scanning and it worked.
  • Added rcedit.exe to McAfee’s Excluded Files, re-enabled RT Scan and it worked.

Hope this helps someone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Electron-builder error - Fatal error: Unable to commit changes
Error : Exit code: 1. Command failed: C:\Users\tak\AppData\Local\electron-builder\Cache\winCodeSign\winCodeSign-2.4.0\rcedit-ia32.exe ...
Read more >
Can't change game icon - rcedit failed to modify executable
I can't change my game's executable file resources (I'm on Windows). Whenever I try to export my project with modify resources on, ...
Read more >
Developers - Error: rcedit.exe failed with exit code 1. Fatal error
Error : rcedit.exe failed with exit code 1. Fatal error: Unable to commit changes at ChildProcess.
Read more >
Electron 打包出现如下问题怎么办? - Linho 的回答- 知乎
... for platform win32 x64 using electron v4.0.2 rcedit.exe failed with exit code 1. Fatal error: Unable to commit changes npm ERR! code...
Read more >
Strange exit behaviour - Usage questions - Open Stage Control
(node:11848) UnhandledPromiseRejectionWarning: Error: rcedit.exe failed with exit code 1. Fatal error: Unable to commit changes
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found