Skip to content

Could not detect abi for version 36.3.0 and runtime electron. #1193

Description

@Sailwayfun

Environment

  • Windows 11 Home
  • Npm Packages:
    • "@electron/rebuild": 3.7.0
      -"electron": "36.3.0"

Error

Error: Could not detect abi for version 36.3.0 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron at Object.getAbi (node_modules\node-abi\index.js:39:9) at get ABI (node_modules\@electron\rebuild\lib\rebuild.js:89:39) at get metaData (node_modules\@electron\rebuild\lib\module-rebuilder.js:52:58) at ModuleRebuilder.alreadyBuiltByRebuild (\node_modules\@electron\rebuild\lib\module-rebuilder.js:57:34) at async Rebuilder.rebuildModuleAt (node_modules\@electron\rebuild\lib\rebuild.js:130:28) at async Rebuilder.rebuild (node_modules\@electron\rebuild\lib\rebuild.js:115:17)

Current Behavior

  • Electron builder failed to build the app.

Expected Behavior

  • Should be able to package the app.

Proposed Solutions

Update node-abi in this package. I manually install it to the project and the building worked fine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions