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/
위와 같은 명령어를 입력하여 해결이 가능하다
기존의 주소가 http 에서 https 로 바뀌어 해결되게 된다.
'NodeJS' 카테고리의 다른 글
SyntaxError: Cannot use import statement outside a module 에러 (0) | 2023.07.18 |
---|---|
node pkg의 exe 생성 명령어 (0) | 2022.11.08 |