vishal
vishal

Reputation: 89

Not able to install appium - npm ERR! code EAI_AGAIN

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 ?

Upvotes: 0

Views: 2890

Answers (2)

Mani Vannan
Mani Vannan

Reputation: 394

Connect to Direct Internet like Mobile hotspot or WiFi and try again.

npm install usually fails with corporate proxy.

Upvotes: 1

Bernardo SOUSA
Bernardo SOUSA

Reputation: 563

According to this Microsoft page, this error translates to "A temporary failure in name resolution occurred". Therefore, I suppose you can just try again later. Or, depending on your version of Windows, try this answer. I just tried installing this npm package and it works normally on my Windows 10 box.

Upvotes: 0

Related Questions