公告
财富商城
积分规则
提问
发文
2019-03-05 12:13发布
Evening l夕情丶
Whenever I run npm install , I get an error
Error: SELF_SIGNED_CERT_IN_CHAIN.
How to resolve this error?
Even I used to get this error. Try following steps.
Steps to be followed to overcome this error:
1) Run these three commands in a sequence.
npm config set strict-ssl false
npm update npm –g
npm config set strict-ssl true
2) Set properties proxy and https-proxy in the npm config using these commands:
npm config set proxy=“http://"proxy-name":8080”
npm config set https-proxy=“http://"proxy-name":8080”
Then try installing your packages using commands you tried.
Hope this helps.
最多设置5个标签!
Even I used to get this error. Try following steps.
Steps to be followed to overcome this error:
1) Run these three commands in a sequence.
npm config set strict-ssl false
npm update npm –g
npm config set strict-ssl true
2) Set properties proxy and https-proxy in the npm config using these commands:
npm config set proxy=“http://"proxy-name":8080”
npm config set https-proxy=“http://"proxy-name":8080”
Then try installing your packages using commands you tried.
Hope this helps.