Replies: 2 comments
-
#291 there is somone open issue about this couple month ago. It seems like no one has a solution yet, and I haven't been able to continue my little research on this yet |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to convert a Node.js project that uses Puppeteer with a real browser (not puppeteer-core) into a standalone .exe file for Windows.
I've already tried using pkg and nexe, but neither worked. Both fail due to dynamic import() or missing binaries related to Chromium or internal module loading. The build seems to succeed sometimes, but the executable either crashes at runtime or throws errors like Invalid host defined options or missing context IDs.
It looks like the problem is mostly related to how Puppeteer loads Chromium and some modules dynamically, which tools like pkg/nexe can't fully track or bundle.
Has anyone had success compiling a full Puppeteer (with GUI) script into a working .exe?
Beta Was this translation helpful? Give feedback.
All reactions