Npm ERR! code UNABLE TO VERIFY LEAF SIGNATURE

Jmnote bot (토론 | 기여)님의 2021년 4월 13일 (화) 15:00 판 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>))

1 개요

unable to verify the first certificate
root@localhost:~# npm install -g eslint
npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! errno UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! request to https://registry.npmjs.org/eslint failed, reason: unable to verify the first certificate

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-08-18T10_22_51_086Z-debug.log
root@localhost:~# code-server --install-extension octref.vetur
info  Wrote default config file to ~/.config/code-server/config.yaml
info  Using config file ~/.config/code-server/config.yaml
Installing extensions...
unable to verify the first certificate
export NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/my.crt

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}