Skip to content

node-abi error #1199

@cyhnkckali

Description

@cyhnkckali

The following error occurs when the builder runs

$ electron-builder install-app-deps
  • electron-builder  version=26.0.12
  • loaded configuration  file=C:\Users\lenovo\Documents\JOB\1-PROJECTS\git\FSDesigner\electron-builder.json
  • executing @electron/rebuild  electronVersion=36.2.1 arch=x64 buildFromSource=false appDir=./
  • installing native dependencies  arch=x64
  • preparing       moduleName=bcrypt arch=x64
  ⨯ Could not detect abi for version 36.2.1 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron  failedTask=installAppDeps stackTrace=Error: Could not detect abi for version 36.2.1 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
    at Object.getAbi (C:\Users\lenovo\Documents\JOB\1-PROJECTS\git\FSDesigner\node_modules\@electron\rebuild\node_modules\node-abi\index.js:39:9)
    at get ABI (C:\Users\lenovo\Documents\JOB\1-PROJECTS\git\FSDesigner\node_modules\@electron\rebuild\lib\rebuild.js:89:39)
    at PrebuildInstall.prebuiltModuleExists (C:\Users\lenovo\Documents\JOB\1-PROJECTS\git\FSDesigner\node_modules\@electron\rebuild\lib\module-type\prebuild-install.js:61:179)
    at ModuleRebuilder.prebuildInstallNativeModuleExists (C:\Users\lenovo\Documents\JOB\1-PROJECTS\git\FSDesigner\node_modules\@electron\rebuild\lib\module-rebuilder.js:70:37)
    at Rebuilder.rebuildModuleAt (C:\Users\lenovo\Documents\JOB\1-PROJECTS\git\FSDesigner\node_modules\@electron\rebuild\lib\rebuild.js:143:35)
    at async Rebuilder.rebuild (C:\Users\lenovo\Documents\JOB\1-PROJECTS\git\FSDesigner\node_modules\@electron\rebuild\lib\rebuild.js:115:17)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
PS C:\Users\lenovo\Documents\JOB\1-PROJECTS\git\FSDesigner> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions