vercel / pkg

Package your Node.js project into an executable
https://npmjs.com/pkg
MIT License
24.28k stars 1.01k forks source link

Cannot build base binary for FreeBSD #2003

Closed rawvie-tnt closed 11 months ago

rawvie-tnt commented 11 months ago

What version of pkg are you using?

5.8.1

What version of Node.js are you using?

18

What operating system are you using?

FreeBSD

What CPU architecture are you using?

x86_64

What Node versions, OSs and CPU architectures are you building for?

node14-freebsd-x64

Describe the Bug

I am trying to create executable for FreeBSD, but the readme says FreeBSD is unsupported but you may try to compile yourself. When i try to build executable with target as node14-freebsd-x64 in freeBSD it always fails with some C++ error. If any body has successfully built the base binary for freeBSD for node14 or higher please help. image

Expected Behavior

required base binary is built and executable is generated for FreeBSD

To Reproduce

set target as node14-freebsd-x64 and run pkg on a FreeBSD system