728x90
반응형
SMALL

안녕하세요! 프뚜입니다.

 

Error: unable to verify the first certificate
      at TLSSocket.onConnectSecure (node:_tls_wrap:1545:34)
      at TLSSocket.emit (node:events:513:28)
      at TLSSocket._finishInit (node:_tls_wrap:959:8)
      at ssl.onhandshakedone (node:_tls_wrap:743:12)

에러가 발생했을 때 아래와 방식으로 해결할 수 있습니다.


[개발 환경]
- OS: Windows 10 64Bit
- NodeJS: 18.13.0


# 명령 프롬프트(CMD) 열기

yarn config set strict-ssl false -g 
yarn config set registry http://registry.npmjs.org/ --global


정상적으로 사용할 수 있습니다.

728x90
반응형
LIST
프뚜