apache/cordova-electron

I have issues when I tried to build cordova-electron

BenLaKnet opened this issue · 1 comments

I have this error message when building app :

cordova build electron --release
  • electron-builder  version=22.14.13 os=10.0.19045
  • writing effective config  file=platforms\electron\build\builder-effective-config.yaml
TypeError: The "code" argument must be of type number. Received type string ('ERR_ELECTRON_BUILDER_INVA...')
    at process.set [as exitCode] (node:internal/bootstrap/node:123:9)
    at c:\Users\xxxx\AppData\Roaming\npm\node_modules\cordova\bin\cordova:32:22

Please help me.

Could this come from a plugin or is it code related?