Frequent "error packing your project for electron!"

Wappler Version: 6.1.3 Stable
Operating System: Windows 11
Server Model: Capacitor

This is not an error specific to 6.1.3, I’ve been living with it for a while. I think it existed in version 5.

Expected behavior

Clicking Pack for Electron platform should result in a successful packaging of the project to an Electron app

image

Actual behavior

I get the following error.

I pack the app frequently and this happens about 20% of the time. I have to restart Wappler to successfuly pack the app again.

How to reproduce

Create a mobile app and pack (not build) the electron app for local install. Make changes to the app and pack again. Repeat ~5 times until the error is encountered…

Not sure if its related, but have you seen this fix?

What is exactly the error you get? I see only something about the commits:

Have you entered remote repository in your package.json?

I don’t think this is related to the remote repository. I would expect it to fail every time if it was related.

It seems to be related to rcedit-x64.exe.

I’m found a post on reddit with this as a possible solution. I’ll see if I can use it.