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

Serialport with pkg package for 32(x86) bit windows #2818

Open
dhwaj1902 opened this issue May 31, 2024 · 0 comments
Open

Serialport with pkg package for 32(x86) bit windows #2818

dhwaj1902 opened this issue May 31, 2024 · 0 comments

Comments

@dhwaj1902
Copy link

dhwaj1902 commented May 31, 2024

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

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

No branches or pull requests

1 participant