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?