我刚刚开始使用Synk Protect当我在我的项目上运行npm install
时,在证书链中抛出自签名证书">。谁能给我一些指针,我如何找到哪一个984包在我的项目是导致这个错误?
> eslint-config-adjunct@4.8.11 snyk-protect /Users/dave.bradshaw/dev/eslint-config-adjunct
> snyk protect
self signed certificate in certificate chain
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! eslint-config-adjunct@4.8.11 snyk-protect: `snyk protect`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the eslint-config-adjunct@4.8.11 snyk-protect script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
执行如下命令:
sudo npm install --unsafe-perm binding