分享你我的心得.
共乘一片美好网络.

安装electron报错

npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node install.js
npm ERR! RequestError: certificate has expired

被卡了一会,其实就是自定义的证书无效

解决方法

npm install -g cnpm --registry=https://registry.npmmirror.com
cnpm install --save-dev electron
赞(0)
未经允许不得转载:小叶白龙博客 » 安装electron报错
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址