npm install 卡住排查

1. add --verbose option

npm install -g --prefix "${pkgdir}/usr" "${srcdir}/x.tgz" --verbose

2. get error CERT_NOT_YET_VALID

npm http fetch GET https://registry.npmjs.org/@x attempt 2 failed with CERT_NOT_YET_VALID

3. ntpdate ntp.aliyun.com || timedatectl set-ntp true

posted @ 2025-07-07 10:47  doite  阅读(20)  评论(0)    收藏  举报