Open
Description
Preflight Checklist
- I have read the contribution documentation for this project.
- I agree to follow the code of conduct that this project follows, as appropriate.
- I have searched the issue tracker for a bug that matches the one I want to file, without success.
Issue Details
- Electron Packager Version:
*15.4.0 - Electron Version:
*16.0.4 - Operating System:
- Microsoft Windows 10 Pro
- Last Known Working Electron Packager version::
- None
Expected Behavior
It should be able to include node_modules packages in compiling Including express, discordnitro & other NPM packages.
Actual Behavior
After the compiling, run the compiled EXE file and It should return an error Cannot find module 'discordnitro'
To Reproduce
- Open CMD and type this command create-electron-app reproduce, Just an example.
- cd to the directory & install discordnitro. npm i discordnitro
- Import the discordnitro in the file.
- cd to src and build it. cd src && electron-packager ./ reproduce --platform=win32 --arch=x64
- Run the compiled EXE file and It should return an error Cannot find module 'discordnitro'.
Additional Information
None