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
There is a problem with automatically releasing new versions of node-abi, which is why this error exists with electron-rebuild (and Electron Forge, by extension), even though electron-rebuild depends on the latest version of node-abi (2.30.0, at the time of the creation of this issue). This cannot be fixed until a new release is made (2.30.1 or later).
Workaround
Electron Forge
Electron Forge uses electron-rebuild to rebuild native modules. In your Electron Forge config, set forceABI: 89 in electronRebuildConfig. For example, if your config is in package.json(note that this is a partial config shown, only meant to indicate where the option goes):
There is a problem with automatically releasing new versions of
node-abi
, which is why this error exists withelectron-rebuild
(and Electron Forge, by extension), even thoughelectron-rebuild
depends on the latest version ofnode-abi
(2.30.0, at the time of the creation of this issue). This cannot be fixed until a new release is made (2.30.1 or later).Workaround
Electron Forge
Electron Forge uses
electron-rebuild
to rebuild native modules. In your Electron Forge config, setforceABI: 89
inelectronRebuildConfig
. For example, if your config is inpackage.json
(note that this is a partial config shown, only meant to indicate where the option goes):electron-rebuild
APISet
forceABI: 89
in theRebuildOptions
.electron-rebuild
CLIAdd
--force-abi=89
to your command line flags.The text was updated successfully, but these errors were encountered: