Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Package standalone binaries via @vercel/pkg #343
base: main
Are you sure you want to change the base?
Package standalone binaries via @vercel/pkg #343
Changes from 14 commits
c828996
9829ed9
dea73bc
e32c3b5
7b16b80
fb00be8
4f7a744
7716f15
4ab41ea
873be77
6a4a539
7f6d4ae
97c6f70
817a9b4
8d4beea
dc37f6d
fc745df
3210199
3ec97a3
a57398d
9d51488
6177f68
fd39253
1b5907d
1a8bc5a
6f4afce
2fb68ae
b146bb6
9ff701f
6a1ecfc
6131899
a62cd9f
9ae26cb
5c70bfa
132285f
fea1d81
f9e26da
e77ae41
e266aeb
ab02fbb
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few warnings in CI:
Have you looked into the 'cannot resolve' warnings?
The prebuild-install warnings seem to indicate that the node-pty module is not available for the target.
From my testing of the build artifacts:
build
fails with 'pty.node is not a valid Win32 application'.build
fails with 'pty.node: cannot open shared object file: No such file or directory'.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I recall, the
cannot resolve t
warnings are the dynamic require/import calls inyargs
(t
is the mangled name).You're noticing some of the reasons I split things across this PR and #385 🙂.
#385 compiles the binaries on each target OS, because I realized
@vercel/pkg
wasn't cross-compiling the native modules from linux (their docs seem ambiguous at best). I thought they may have included logic to re-runnode-gyp
to recompile a native module (kinda similar to electron's packager).I wasn't sure how they'd do that without the target's compilers, but I'll admit I'm ignorant of the current state of cross-compiling from linux to windows/macos.