"Npm ERR! code UNABLE TO VERIFY LEAF SIGNATURE"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>))
2번째 줄: 2번째 줄:
;unable to verify the first certificate
;unable to verify the first certificate


<source lang='console'>
<syntaxhighlight lang='console'>
root@localhost:~# npm install -g eslint
root@localhost:~# npm install -g eslint
npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
10번째 줄: 10번째 줄:
npm ERR! A complete log of this run can be found in:
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
npm ERR!    /root/.npm/_logs/2020-08-18T10_22_51_086Z-debug.log
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
root@localhost:~# code-server --install-extension octref.vetur
root@localhost:~# code-server --install-extension octref.vetur
info  Wrote default config file to ~/.config/code-server/config.yaml
info  Wrote default config file to ~/.config/code-server/config.yaml
17번째 줄: 17번째 줄:
Installing extensions...
Installing extensions...
unable to verify the first certificate
unable to verify the first certificate
</source>
</syntaxhighlight>
<source lang='bash'>
<syntaxhighlight lang='bash'>
export NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/my.crt  
export NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/my.crt  
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[NODE_EXTRA_CA_CERTS]] ○
* [[NODE_EXTRA_CA_CERTS]] ○
* [[NODE_TLS_REJECT_UNAUTHORIZED]] ×
* [[NODE_TLS_REJECT_UNAUTHORIZED]] ×

2021년 4월 13일 (화) 15:00 판

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 }}