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

Does not work make Electron Forge with native modules of serialport v10 and usb v2.9.0 #3282

Open
3 tasks done
andres-mestra opened this issue Jul 28, 2023 · 2 comments
Open
3 tasks done

Comments

@andres-mestra
Copy link

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version

6.2.1

Electron version

v25.3.1

Operating system

Ubuntu 22.04

Last known working Electron Forge version

No response

Expected behavior

Correctly relocate native modules with webpack-asset-relocator-loader

  • serialport: node_modules/@serialport/bindings-cpp/build/Release/bindings.node
  • usb: node_modules/usb/build/Release/usb_bindings.node

Actual behavior

please see this thread serialport/node-serialport#2464

Steps to reproduce

This is current solution https://github.com/Dygmalab/Bazecor/blob/development/forge.config.ts

Additional information

No response

@sibelius
Copy link

any way to fix this ?

@andres-mestra
Copy link
Author

any way to fix this ?

This is current solution https://github.com/Dygmalab/Bazecor/blob/development/forge.config.ts

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

2 participants