prebuild / prebuildify

Create and package prebuilds for native modules
MIT License
200 stars 37 forks source link

how can I avoid building to node 17 ? #74

Closed sibelius closed 1 year ago

sibelius commented 1 year ago

node 17 has a bug that it does not include a header

prebuildify/node/17.0.0/include/node/v8-persistent-handle.h:10:10: fatal error: 'v8-weak-callback-info.h' file not found
#include "v8-weak-callback-info.h"  // NOLINT(build/include_directory)

I'm using this command to build

prebuildify --all --strip
sibelius commented 1 year ago

patch-package node-abi fixed