Skip to content

Node-gyp failed to rebuild when building for 32bit #54

Description

@gpavlov21

I have an electron-forge app utilizing the nfc-pcsc library. Im facing an issue where I need my app to work on both 32 and 64 bit Windows and on MacOS. My machine runs Windows 10 and when i run
npm run make -- --arch="ie32" --platform=win32 im getting the following error:

An unhandled rejection has occurred inside Forge: Error: node-gyp failed to rebuild 'C:\Users...\node_modules<@pokusew>\pcsclite' at ChildProcess.<anonymous> (C:\Users....\node_modules@electron\rebuild\lib\module-type\node-gyp\node-gyp.js:118:24) at ChildProcess.emit (node:events:517:28) at ChildProcess._handle.onexit (node:internal/child_process:292:12)

When i execute just
npm run make
everything works fine and the build is created, but this build work only on 64-bit machines. The 32-bit one can't start the .exe.

My config is:
Node 18.20.2
NPM 10.5.0
electron 29.1.5
elctron-forge/cli 7.3.1
nfc-pcsc ^0.8.1

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions