prebuild / prebuildify

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

gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in node_modules/node-addon-api/node_api.gyp while loading dependencies of binding.gyp while trying to load binding.gyp #69

Closed vaguue closed 1 year ago

vaguue commented 2 years ago
reconbot commented 1 year ago

I'm getting this with a similar setup and targeting arm64. This issue seems related to an npm upgrade (or something underlying that's shared) https://github.com/nodejs/node-gyp/issues/2673

vweevers commented 1 year ago

It's not an issue in prebuildify. Can be solved by adding openssl_fips to your binding.gyp.

Example: https://github.com/Level/classic-level/commit/b3f8517611f1e479d92b80ef4714bb8a4f0fa7c6

reconbot commented 1 year ago

Thanks this was a great example.