where do I set cafile? .npmrc doesn't seem to work
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 271
- Avg merge
- 23h 40m
- Merged PRs (30d)
- 2
Description
https://github.com/mapbox/node-pre-gyp/pull/243 respected cafile in the options, but I can't work out where to set it. Setting it in .npmrc doesn't seem to flow through to node-pre-gyp (which is run through yarn), so how else can I set it? I also have NODE_EXTRA_CA_CERTS set but that doesn't help either.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing pull request 243 and tracing how the cafile option is passed when node-pre-gyp runs through Yarn. Check whether values from .npmrc or NODE_EXTRA_CA_CERTS reach that path. Done means identifying the supported configuration location or documenting why these settings do not apply.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100