We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi, my .npmrc as fllow
napa_binding_binary_host_mirror=http://xxx.com/mirrors/xxxxxxxxxxxx/
but,when npm install,it can't read this setting. so i read the source of node-pre-gyp, in lib/util/versioning.js
npm install
node-pre-gyp
lib/util/versioning.js
var host = process.env['npm_config_' + opts.module_name + '_binary_host_mirror'] || package_json.binary.host;
in napajs's package.json, this module_name is napa-binding, but in process.env is 'napa_binding'
napa-binding
so it cant override package.json mirror setting
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hi,
my .npmrc as fllow
but,when
npm install
,it can't read this setting.so i read the source of
node-pre-gyp
, inlib/util/versioning.js
in napajs's package.json, this module_name is
napa-binding
, but in process.env is 'napa_binding'so it cant override package.json mirror setting
The text was updated successfully, but these errors were encountered: