Getting error while installing newman

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Here’s an outline with best practices for making your inquiry.

My question: Getting ERR! code EPROTO while installing newman

Details (like screenshots):
Below are my logs: after hit this command npm i -g newman

npm ERR! code EPROTO
npm ERR! syscall write
npm ERR! errno EPROTO
npm ERR! request to https://registry.npmjs.org/newman/newman failed, reason: write EPROTO AC3C0000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:c:\ws\deps\openssl\openssl\ssl\statem\extensions.c:922:

How I found the problem:
while installing

I’ve already tried: yes

A quick search on Google and this appears to be an issue with NPM.

Check the version in the first instance and maybe upgrade it to the most recent stable version, but you may have to review the SSL settings and make some changes there.

Also check your version of Node.js. It should be >= v10.