1

I am trying to install npm in a particular directory on the office's laptop. But it is throwing an error:

npm ERR! code ETIMEDOUT

npm ERR! syscall connect

npm ERR! errno ETIMEDOUT

npm ERR! network request to 'company-url' failed, reason: connect ETIMEDOUT 10.82.13.225:4873

npm ERR! network This is a problem related to network connectivity.

npm ERR! network In most cases you are behind a proxy or have bad network settings.

My questions here are:

  1. How can I fix the above errors?
  2. In general, How can I check whether the proxy is set on my laptop or not?
  3. I had searched about this issue and saw some suggestions to change the proxy settings. Will there be any conflict with the company's policies if I change them (as per the solutions that I found on google)?
Anurag Srivastava
  • 14,077
  • 4
  • 33
  • 43
muskaan sharma
  • 127
  • 1
  • 4
  • 11
  • your company network policy is not allowing to download files from those urls. – Shiju Feb 22 '22 at 04:23
  • possibly duplicated https://stackoverflow.com/questions/39830049/npm-timeout-on-install-while-overseas – M.Hefny Oct 25 '22 at 11:41
  • The last time I had a problem like this was because of my company VPN, do you have a VPN running? – Sammy Dec 31 '22 at 08:43

1 Answers1

1

Disable ipv6 work on my case. Instruction on Windows: https://networking.grok.lsu.edu/Article.aspx?articleid=17573

hungtran273
  • 1,180
  • 9
  • 11