You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
The nodeJS SerialPort module comes with a prebuilds folder with .node files for Windows, Mac, Linux (32 and 64 bit variants, and glibc and musl variants)
Because it uses a runtime generated path to select which .node file to load, NFT will remove these files.
I've used the special-cases code to add in a rule for @serialport/bindings-cpp.
It is working great so I'll fork and do a Pull Request for you.
I noticed you had code to detect .node files from bind.js, but the paths that parses does not include a prebuilds, with sub folders for each OS, Arch and C Library, so think special-cases is the place to fix this.
The text was updated successfully, but these errors were encountered:
Hi
The nodeJS SerialPort module comes with a prebuilds folder with .node files for Windows, Mac, Linux (32 and 64 bit variants, and glibc and musl variants)
Because it uses a runtime generated path to select which .node file to load, NFT will remove these files.
I've used the special-cases code to add in a rule for @serialport/bindings-cpp.
It is working great so I'll fork and do a Pull Request for you.
I noticed you had code to detect .node files from bind.js, but the paths that parses does not include a prebuilds, with sub folders for each OS, Arch and C Library, so think special-cases is the place to fix this.
The text was updated successfully, but these errors were encountered: