npm install 설치가 계속 안 되었다
진단하기 위해
npm install --verbose
FetchError: request to https://registry.npmjs.org/-/npm/v1/security/audits/quick failed, reason: self-signed certificate in certificate chain
npm verbose audit error at ClientRequest.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:130:14)
npm verbose audit error at ClientRequest.emit (node:events:519:28)
npm verbose audit error at _destroy (node:_http_client:880:13)
npm verbose audit error at onSocketNT (node:_http_client:900:5)
npm verbose audit error at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {
npm verbose audit error code: 'SELF_SIGNED_CERT_IN_CHAIN',
npm verbose audit error errno: 'SELF_SIGNED_CERT_IN_CHAIN',
npm verbose audit error type: 'system'
npm verbose audit error }
해결법
npm config set strict-ssl false
이후에 잘 설치가 됐다
'문제해결' 카테고리의 다른 글
[AWS] Elastic Ip 삭제 (0) | 2024.02.28 |
---|---|
route53 도메인에 접속할 때 ERR_CONNECTION_REFUSED (0) | 2024.02.07 |
ubuntu Swap Space 추가하기 (0) | 2024.01.11 |
[ERROR] Your password does not satisfy the current policy requirements 해결 (0) | 2024.01.09 |
[Error] exited with code [1] via signal [SIGINT] / Too many unstable restarts 에러 해결 (0) | 2024.01.08 |