本文作者:阿豪

error electron@11.4.3 postinstall: `node install.js`

阿豪 06-03 467
error electron@11.4.3 postinstall: `node install.js`摘要: 安装electron 的时候失败报错如下1493 error electron@11.4.3 postinstall: `node install.js`1493 error Ex...

安装electron 的时候失败报错如下

1493 error electron@11.4.3 postinstall: `node install.js`

1493 error Exit status 1

1494 error Failed at the electron@11.4.3 postinstall script.

1494 error This is probably not a problem with npm. There is likely additional logging output above.

1495 verbose exit [ 1, true ]

image.png

解决办法

将electron下载地址指向taobao镜像

npm config set electron_mirror "https://npm.taobao.org/mirrors/electron/"


文章版权及转载声明

作者:阿豪本文地址:https://www.ahaoyw.com/article/590.html发布于 06-03
文章转载或复制请以超链接形式并注明出处阿豪运维

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏