본문 바로가기

React

[Error] npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher

npm 을 이용하여 패키지를 설치할때 위와 같은 메시지가 나올 경우 해결 방법

 

터미널에 

 

npm config set registry https://registry.npmjs.org/

 

이렇게 입력하고 npm 패키지를 설치하면 된다