unpack native modules 7.11.1
- Dominant language
- TypeScript
- Stars
- 7.1k
- Forks
- 641
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 30
Description
### Pre-flight checklist
- [x] I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
- [x] I have searched the issue tracker for a bug that matches the one I want to file, without success.
### Forge version
7.11.1
### Electron version
36.5.0
### Operating system
window 11
### Last known working Forge version
7.11.1
### Expected behavior
The @electron-forge/plugin-auto-unpack-natives plugin should automatically unpack native modules like serialport and ensure they work properly within the Electron app.
### Actual behavior
Despite configuring the @electron-forge/plugin-auto-unpack-natives plugin, the serialport native module is not being unpacked, causing it to fail to work correctly.
### Steps to reproduce
Create a new Electron app using the command npx create-electron-app@latest my-app --template=vite-typescript.
Install and configure the @electron-forge/plugin-auto-unpack-natives plugin.
Install the serialport module and reference it in the project.
Run the app and check whether the serialport module is properly unpacked and working.
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.