ERROR] An error occurred while running npm install --save-dev --save-exact


#1

Detected https_proxy in environment, but to proxy CLI requests, you’ll need @i
onic/cli-plugin-proxy installed. Install now? Yes

npm install --save-dev --save-exact @ionic/cli-plugin-proxy@latest
:heavy_multiplication_x: Running command - failed!
[ERROR] An error occurred while running npm install --save-dev --save-exact

    @ionic/cli-plugin-proxy@latest (exit code 1):
    
    npm ERR! code EPROTO
    npm ERR! errno EPROTO
    npm ERR! request to https://registry.npmjs.org/@ionic%2fcli-plugin-proxy 
    failed, reason: write EPROTO 139871566256000:error:140770FC:SSL 
    routines:SSL23_GET_SERVER_HELLO:unknown 
    protocol:../deps/openssl/openssl/ssl/s23_clnt.c:794:
    npm ERR! 
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2017-09-21T22_44_35_827Z-debug.log

#2

Looks like some sort of network problem. If you’re behind a proxy, show that error to whoever administers it.