I have installed Node.js and when I run the command Node -v it gave me exact version and then I ran npm -v, it replied back with the version.
But when I try to install appium using the command "npm install appium" I have got

> 
> npm ERR! code EAI\_AGAIN npm ERR! errno EAI\_AGAIN npm ERR! request to
>  <https://registry.npmjs.org/appium> failed, reason: getaddrinfo
>  EAI\_AGAIN my.proxyserver.com:8080
> 
> 
> 

can some one tell me why this is happening ?