Use npm's cafile config re #848#844
Conversation
|
Did you check if HEAD of master works? |
|
I intend to double-check tomorrow. The use-case was If this is the case, and the intention is that it should be inherited implicitly or explicitly into gyp.opts, then my 'fix' is in the wrong place. I will look into how gyp.opts is populated. |
|
Here is the code that is responsible for populating the |
|
@mschnee @bnoordhuis guys, any progress here? Is there any chance to bypass the issue without the PR? |
…o "undefined" cafile Refs: nodejs/node-gyp#837, nodejs/node-gyp#844 Failed job: https://ci.appveyor.com/project/brianreavis/node-gdal/build/job/n9u9mr7a sfrlbs55
|
Closing, |
…o "undefined" cafile Refs: nodejs/node-gyp#837, nodejs/node-gyp#844 Failed job: https://ci.appveyor.com/project/brianreavis/node-gdal/build/job/n9u9mr7a sfrlbs55
Do a google search for "UNABLE_TO_GET_ISSUER_CERT_LOCALLY" or "can't install behind corporate firewall" or "can't install behind proxy".
tl;dr I need to install a module, which requires something to be rebuilt, and it fails because node-gyp doesn't honor my npm configurations for cafiles (for corporate self-signed certificate).
Specifically, this addresses needing to download node's headers when an install/update requires a rebuild.