-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
Open
Labels
single-executableIssues and PRs related to single-executable applicationsIssues and PRs related to single-executable applications
Description
Version
v22.18.0
Platform
* Ubuntu Linux 24.04: 6.14.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 14 16:52:50 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
* Windows 11: Microsoft Windows NT 10.0.22631.0 x64
Subsystem
No response
What steps will reproduce the bug?
npm init
npm i -s discord.js
touch index.js
- Require/import some aspect of discord.js in
index.js
- Attempt to bundle your application in Node SEA.
- Execute the Node SEA binary.
Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: discord.js
How often does it reproduce? Is there a required condition?
100% of the time.
What is the expected behavior? Why is that the expected behavior?
I would expect the application to run without error.
What do you see instead?
Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: discord.js
Additional information
No response
Metadata
Metadata
Assignees
Labels
single-executableIssues and PRs related to single-executable applicationsIssues and PRs related to single-executable applications