forked from vercel/pkg
-
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
NodeJS 22 support has been added starting from pkg 5.14.0 but many things have changed on NodeJS source and so also on our patch file so it needs some tests. Use this issue to submit your feedbacks and issues
KNOWN ISSUES:
-
MacOS ARM64 not available: feat: add Node 22 patch (#45) (by @faulpeltz) pkg-fetch#45. Reason is that ATM no github runner is able to produce a valid binary without going out of RAM or exceeding 6h max build time. Fixed in 5.14.1 - Ref fix: node 22 module filename resolution in win32 (#49) by @faulpeltz pkg-fetch#49 -
Module Loading not working with Windows- Ref fix: restore mac arm64 build pkg-fetch#46Error: Cannot find module
- Cross OS compilation of node 22 has issues with Windows: NodeJS 22/24 issues/feedbacks tracker #87 (comment). The build succeeds but when running the binary it exits without any output.
- Actual workaround: use
--public
flag (to include sources)
- Actual workaround: use
- Cross compilation from and to macOS (without --public) doesnt work since Node 22 (Cross-compilation from macOS to Linux on arm64 broken on >=22 #181)
cc @faulpeltz
Metadata
Metadata
Assignees
Labels
No labels