The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Use relative path for cafile
Following this node-gyp issue: https://github.com/nodejs/node-gyp/issues/1214
npm should accept a relative path for cafile (.npmrc) and then configure node-gyp with the absolute cafile path (computed using the relative path).
I would love this feature also! Running into how I can standardize this for other developers if cafile is not relative.