Error while install the appium using npm

I am trying to install the appium using npm, however the Chromedriver doesn’t install and break the appium installation.

npm install -g appium
C:\Users\AppData\Roaming\npm\appium → C:\Users\AppData\Roaming\npm\node_modules\appium\build\lib\main.js
[email protected] install C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\appium-chromedriver
node install-npm.js
info Chromedriver Install Installing Chromedriver version ‘2.30’ for platform ‘win’ and architecture ‘32’
info Chromedriver Install Opening temp file to write chromedriver_win32 to…
info Chromedriver Install Downloading
RequestError: Error: read ECONNRESET
at new RequestError (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\request-promise\lib\errors.js:11:15)
at Request.RP$callback [as _callback] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\request-promise\lib\rp.js:60:32)
at self.callback (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\request\request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\request\request.js:878:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:309:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at emitErrorNT (net.js:1277:8)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\appium\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})

npm ERR! errno 1
npm ERR! [email protected] install: node install-npm.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users.…

Have the same problem. Did you find an answer?

Means that the other side closed your connection.

Do you possibly have a firewall or something enabled?