The Wayback Machine - https://web.archive.org/web/20201201175230/https://github.com/vercel/pkg/issues/944
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

Cannot use regedit with PKG #944

Open
han0idx opened this issue Jul 15, 2020 · 1 comment
Open

Cannot use regedit with PKG #944

han0idx opened this issue Jul 15, 2020 · 1 comment

Comments

@han0idx
Copy link

@han0idx han0idx commented Jul 15, 2020

Im trying to compress my app.js to a standalone exe , i use this simple command:
pkg app.js

But i keep having this error:
Error: vbscript process reported unknown error code 1

i tried other solution but nothing works :( anyone know how to solve this ?

@qmenoret
Copy link

@qmenoret qmenoret commented Oct 18, 2020

The regedit module uses some scripts that needs to be found by your packaged output.
Try to have a look to: https://github.com/ironSource/node-regedit#a-note-about-electron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.