NPM unable to authenticate with proxy

Scenario: Trying to install package with NPM, but it is unable to authenticate with the proxy


Solution:

Connecting npm proxy through Telerik Fiddler

  1. Tools > Options
  2. Act as system proxy on startup
  3. Remember the listen port
  4. Under Rules > Automatically Authenticate  (Check this)
  5. Set proxy to point to use fiddler as proxy, proxy address is http://localhost:<port from previous setting>
  6. npm config set proxy http://localhost:8888
  7. npm config set https-proxy http://localhost:8888
  8. Run your install command, it should be working as expected.