I've been trying out prebuildify on Windows, and I noticed it has its own node headers and node.lib cache.
For example:
C:\Users\Roger Qiu\AppData\Local\node-gyp\Cache\16.14.2
Is the node-gyp cache. While
C:\Users\Roger Qiu\AppData\Local\Temp\prebuildify\node\16.14.2
Is prebuildify's node cache.
Considering that many packages are using node-gyp-install as their install script, their cache is likely populated by node-gyp automatically, why is prebuildify then creating its own cache?
I also noticed that node-gyp will automatically fill the target with the current node version. But prebuildify doesn't. Even when node-gyp was using 16.14.2, prebuildify defaulted to 18.0.0, I had to explicitly set the --target=16.14.2 when using prebuildify to ensure it was using the same.
Furthermore on Linux, once I have nodedir set, prebuildify doesn't put anything in /tmp/prebuildify, it only does it on Windows.
I've been trying out
prebuildifyon Windows, and I noticed it has its own node headers and node.lib cache.For example:
Is the node-gyp cache. While
Is prebuildify's node cache.
Considering that many packages are using
node-gyp-installas their install script, their cache is likely populated by node-gyp automatically, why is prebuildify then creating its own cache?I also noticed that node-gyp will automatically fill the target with the current node version. But prebuildify doesn't. Even when
node-gypwas using 16.14.2, prebuildify defaulted to 18.0.0, I had to explicitly set the--target=16.14.2when using prebuildify to ensure it was using the same.Furthermore on Linux, once I have
nodedirset,prebuildifydoesn't put anything in/tmp/prebuildify, it only does it on Windows.