-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
reportIssues and PRs related to process.report.Issues and PRs related to process.report.
Description
- Version: Node 11
- Platform: Windows Nano Server
#22712 introduced a dependency on NETAPI32.dll’s NetApiBufferFree and NetServerGetInfo which are not present on Windows Nano Server, and as a result, Node crashes on launch with STATUS_DLL_NOT_FOUND.
Looking at the code in #22712, I can suggest alternative dependencies (admittedly based on limited information/understanding): use GetVersionEx to get OS information, and use GetComputerNameEx to get the machine name.
Both GetVersionEx and GetComputerNameEx are guaranteed to be available on all versions of Windows and so should be preferred over other alternatives (including GetComputerName, which seems to be used in the fallback codepath in #22712).
Please let me know if I can help further with getting this issue resolved!
Metadata
Metadata
Assignees
Labels
reportIssues and PRs related to process.report.Issues and PRs related to process.report.