简体   繁体   English

无法下载“https://github.com/OfficeDev/Office-Addin-TaskPane-JS/archive/yo-office.zip”的项目 zip 文件

[英]Unable to download project zip file for "https://github.com/OfficeDev/Office-Addin-TaskPane-JS/archive/yo-office.zip"

  • I am trying to implement yo generator example from here .我正在尝试从这里实现yo generator示例。
  • I did npm and node installation.我做了npmnode安装。
  • While doing npm install -g yo generator-office I faced the same self signed certificate in certificate chain issue.在执行npm install -g yo generator-office时,我self signed certificate in certificate chain This was solved using npm config set strict-ssl false .这是使用npm config set strict-ssl false解决的。
  • While doing yo office I am facing the same issue.yo office时,我面临同样的问题。
  • Error错误
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

在此处输入图像描述

  • Export your certificate as below如下导出您的证书
export NODE_EXTRA_CA_CERTS="<certificate_path>"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从github.com以及NodeJs(https)下载文件 - How download file from github.com whith NodeJs (https) 我可以将在node.js中[https://github.com/jasonjoh/node-tutorial]在此处实现的Office 365 Rest Api用作Web服务吗? - Can i use office 365 Rest Api implemented here [https://github.com/jasonjoh/node-tutorial] in node.js as a Web service? 无法使用axios下载zip文件 - Unable to download zip file using axios 如何从express js下载Zip文件 - How to download the Zip file from express js 如何下载文件.zip 而不是 JS 中的二进制文件? - How to download a file .zip instead of a binary in JS? 为什么没有UI的Office Addin命令在从taskpane发送相同命令时没有响应? - Why does my Office Addin command without UI not respond while the same command send from taskpane does? 压缩文件下载 - Zip file download 在 aws laba node.js 中从 s3 提供 zip 文件 - 下载后无法提取 - Serving zip file from s3 in aws lamba node.js - unable to extract after download 无法下载动态创建的ZIP存档 - Can't download dynamically created ZIP archive 使用下载的zip文件克隆并恢复github项目,并撤消对用户的访问 - Clone and restore github project with downloaded zip file and revoke access to user
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM