Hi 2016-06-22 14:49 GMT+02:00 Dinesh Rampal <rampaldinesh0...@gmail.com>:
> Hi > > I have a application which works fine, but when i try to make it work in > office behind a corporate firewall, it fails to make a call to a internet > cloud based database. Querying in Google, i found that i need to set up > config parameters - *proxy and https-proxy*. > > npm config set proxy http://proxy.company.com:8080 > npm config set https-proxy http://proxy.company.com:8080 > > > I have done the above commands in all possible combinations, but it > doesn't work. > > Can somebody tell me how can i come around this problem ? Is this the only > way to solve this OR there are solutions to my issue. > (assuming you're using some variant of *nix) Can't directly help with npm, but "npm help 7 config" states, npm would honor http_proxy environment variables. So I would leave npm config alone (at least for the moment) and setup the environment variables, it should be much easier to debug those using "curl -v <same npm api url>" regards, Stefan -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAA%3DcwqEmfpk3ADV53qs3pViBF9yV-XqEj%2B9%3DP6BZt3mBErPpFQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.