prebuild / prebuildify

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

Prebuilds cannot be found with node-gyp-build #11

Closed josephg closed 6 years ago

josephg commented 6 years ago

Prebuild is building the library here::

$ ls prebuilds/foundationdb-v0.4.0-node-v*
...
prebuilds/foundationdb-v0.4.0-node-v51-darwin-x64.tar.gz
prebuilds/foundationdb-v0.4.0-node-v57-darwin-x64.tar.gz
prebuilds/foundationdb-v0.4.0-node-v59-darwin-x64.tar.gz

But node-gyp-build is looking in these directories for binaries:

getFirst build/Release
getFirst build/Debug
getFirst prebuilds/darwin-x64
getFirst prebuilds/darwin-x64

... And then not finding the library.

I'm using node-gyp-build@3.3.0 and prebuildify@2.6.0

josephg commented 6 years ago

Sorry, my bad - I was somehow building with prebuild instead of prebuildify. Ignore!