Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dreadlordow opened this issue May 15, 2024 · 0 comments
Open

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

dreadlordow opened this issue May 15, 2024 · 0 comments

Comments

@dreadlordow
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant