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

Unable to require rimraf or ssh2-sftp-client for windows #889

Open
dannycho7 opened this issue Apr 21, 2020 · 0 comments
Open

Unable to require rimraf or ssh2-sftp-client for windows #889

dannycho7 opened this issue Apr 21, 2020 · 0 comments

Comments

@dannycho7
Copy link

@dannycho7 dannycho7 commented Apr 21, 2020

When compiling for windows, I'm unable to require the packages rimraf or ssh2-sftp-client, as the binary freezes when attempting to require them. I was able to fix this issue by using nexe, but would like to use pkg eventually.

A repro would look like:

/// test.js
console.log("about to require rimraf...");
require("rimraf");
console.log("Successfully required rimraf!"); // never reached on windows
pkg test.js # on macos
./test-windows.exe # on windows 10

Curious to hear if there's something obvious I'm missing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.