NodeJS Error: EPROTO when install ionic

Hi, I have an issue with install ionic framework with command “npm install -g cordova ionic” because the it shows this error:

Your environment has been set up for using Node.js 6.10.0 (x64) and npm.

C:\Users\dlbdv>npm install -g cordova ionic
npm ERR! Windows_NT 10.0.14393
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “install” “-g” “cordova” "ionic"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! code EPROTO
npm ERR! errno EPROTO
npm ERR! syscall write

npm ERR! write EPROTO 101057795:error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac:openssl\ssl\s3_pkt.c:1493:SSL alert number 20
npm ERR! 101057795:error:1409E0E5:SSL routines:ssl3_write_bytes:ssl handshake failure:openssl\ssl\s3_pkt.c:659:
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\dlbdv\npm-debug.log

I tried to set http instead of https protocol for the registry, so the installation complete fine, but when I try to start a ionic project, the CLI gives me the same protocol error because starter template is downloaded from https repositories.
How can I resolve definitely this issue?

It sure would help anybody trying to assist you, and anybody with the same problem trying to find this thread via search, and anybody using a screen reader, and anybody whose proxy blocks this image host, if you provided the error in text form instead of an image.

Speaking of proxies, one potential cause for your problem might be yours. Look into npm’s https-proxy setting.

I changed my post with text log :wink:
This is my npm’s proxy setting, and it’s ok because I don’t use a proxy

C:\Users\dlbdv>npm config get proxy
null
C:\Users\dlbdv>npm config get https-proxy
null

npm #15792 looks fairly similar to your environment, and somebody suggests that using 32-bit version of Node helped them.

With 32-bit version it work! Thank you for suggestion :smile: