2. 웹개발/Error모음 [npm, yarn] "self signed certificate in certificate chain" 에러 - 728x90 [npm, yarn] "self signed certificate in certificate chain" 에러 1. 에러 로그 - npm install 을 하다보면 아래와 같은 에러가 발생 할 때가 있다. ex) SELF_SIGNED_CERT_IN_CHAIN ex) 이외 다양한 npm 설치 시 발생하는 에러 예시들 npm ERR! code SELF_SIGNED_CERT_IN_CHAIN npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN npm ERR! request to https://registry.npmjs.org/@babel/parser/-/parser-version.tgz failed, reason: self signed certificate in certificate chain $ npx create-react-app test-project ... [2/4] 🚚 Fetching packages... error An unexpected error occurred: ... self signed certificate in certificate chain". ... 2. 해결 방법 - 해당문제는 SSL 문제이다. 아래 명령어를 수행 하여 설치 시도하여 해결 하였다. set npm_config_strict_ssl=false #또는 npm config set strict-ssl false -g # ex)yarn yarn config set "strict-ssl" false ex) npm ex) yarn - 이후 설치시 정상적으로 설치 되었다. 300x250 공유하기 URL 복사카카오톡 공유페이스북 공유엑스 공유 게시글 관리 구독하기갓대희의 작은공간 저작자표시 비영리 변경금지 응원하기 Contents [npm, yarn] "self signed certificate in certificate chain" 에러 당신이 좋아할만한 콘텐츠 [400 Bad Request] - Header Or Cookie Too Large 해결방법 2024.04.12 Failed to execute 'setItem' on 'Storage': Setting the value of 'xxx' exceeded the quota 2024.04.02 Browserslist: caniuse-lite is outdated. Please run next command 'npm update caniuse-lite browserslist' 에러 2024.03.05 [ yarn ] info Merge conflict detected in yarn.lock and successfully merged 에러 2024.02.21 댓글 26 + 이전 댓글 더보기