serialport/node-serialport

Serialport with pkg package for 32(x86) bit windows

dhwaj1902 opened this issue · 0 comments

SerialPort Version

10.0.0

Node Version

18.17.0

Electron Version

Platform

Windows x64

Architecture

x64

Hardware or chipset of serialport

No response

What steps will reproduce the bug?

What happens?

I tried to make the exe in nodejs using the package pkg version:4.3.8, but getting the error

Warning Cannot include addon %1 into executable.
The addon must be distributed with executable as %2.
D:***\node_modules@serialport\bindings\build\Release\bindings.node
path-to-executable/bindings.node

Firstly, I tried from pkg version 5.8.1 for x64 bit, works fine for me, but I want to make the exe for x86 windows, so downgraded the version to 4.3.8, now I am getting this error for x64 bit as well.

What should have happened?

should work for x86 as well for version 4.3.8

Additional information

No response