Reputation: 339
yo generator
example from here.npm
and node
installation.npm install -g yo generator-office
I faced the same self signed certificate in certificate chain
issue. This was solved using npm config set strict-ssl false
.yo office
I am facing the same issue.Unable to download project zip file for "https://github.com/OfficeDev/Office-Addin-TaskPane-JS/archive/yo-office.zip".
Error: self signed certificate in certificate chain
Upvotes: 0
Views: 1154
Reputation: 87
I got same Issue and got resolved by
1.Setting CA Certificate 2.Defining Environment Variable
Steps
a)Get your CA Root Certificate in .pem format npm config set cafile /RootCertificate.pem
b)System Variable "NODE_EXTRA_CA_CERTS" "C:\RootCertificate.pem"
My machine is running under Zscalar
Upvotes: 0
Reputation: 339
export NODE_EXTRA_CA_CERTS="<certificate_path>"
Upvotes: 0