Skip to content

Bug: Installation fails with electron-builder >= 26.0.3 when using 32-bit Node.js due to missing 7z-ia32.exe #558

@kvswamy86

Description

@kvswamy86

Affected Package

  • electron-winstaller: indirect dependency via electron-builder
  • electron-builder: starting from 26.0.3 (Before version its working)

Environment

  • OS: Windows 11
  • Node.js: v22.17.1 (32-bit, x86)
  • NPM: 10.x.x
  • electron-builder: 26.0.3 and above
  • electron-winstaller: as pulled via electron-builder
  • Usage context: Building Electron app with NSIS target
  • App is inside a monorepo using Electron + NSIS configuration

Problem Summary

When installing dependencies (npm install) for a project using electron-builder >= 26.0.3, the install fails immediately on 32-bit Node.js, throwing:
Error: ENOENT: no such file or directory, copyfile ...\vendor\7z-ia32.exe → ...\vendor\7z.exe

Reproduction Steps

Use 32-bit Node.js (ia32 build)
Set electron-builder version to 26.0.3 or higher
Run npm install
Observe that installation fails immediately with missing 7z-ia32.exe error

json
{
"devDependencies": {
"electron": "30.0.0",
"electron-builder": "26.0.3"
}
}

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