Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

all connections to the npm registry - including for package installation - must use TLS 1.2 or higher

Run 
npm config set registry https://registry.npmjs.org/
npm install -g https://tls-test.npmjs.com/tls-test-1.0.0.tgz

Some computers are still running with http://registry.npmjs.org/ which is not
going to be allowed anymore for security reasons.
 
PREVIOUS NEXT
Tagged: #connections #npm #registry #including #package #installation #TLS #higher
ADD COMMENT
Topic
Name
6+7 =