I want to install nodemon
. But when try to install, get this error:
sudo npm install -g nodemon
npm ERR! code EPROTO
npm ERR! errno EPROTO
npm ERR! request to registry.npmjs.org/nodemon failed, reason: write EPROTO140097810798400:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:827:
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-09-18T06_36_29_786Z-debug.log
Setting a proxy in this way does not help
$ npm config set proxy http://...
$ npm config set https-proxy http://...
sudo npm
(medium.com/@ExplosionPills/…) – Seblor