You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have figured out what is causing the issue. In my project, I wrote a script to run electron builder, so I can dynamically adjust the configuration within the electron-builder.json.
I can see from the logs that electron-builder initially loads electron-builder.json config first and then loads executes my function. If I rename the config file to something else other than electron-builder.json, it works just fine
This makes sense I think since you're using a custom script. electron-builder.json is a reserved config filename that is automatically loaded to handle workspace-style projects. Is there any reason to not have your config file named something else? This doesn't sound like a bug to me
I have the following in my
electron-build.json
project.After upgrading electron builder from version
22.9.1
, I get the following error:Upon troubleshooting, it appears that the data being passed into the validator's
validate()
is incorrectThe text was updated successfully, but these errors were encountered: