在执行`npm install –save-dev electron-prebuilt`时出错

我正在尝试创build一个具有自动启动function的电子应用程序。 当我正在执行npm install --save-dev electron-prebuilt命令时,下面的屏幕显示和保持时间较长。 什么都没有发生,所以我不能继续下去。 任何想法为什么发生? 我的机器上安装了最新版本的节点。

在input这个问题时(15分钟后),我在命令提示符下得到了类似的内容。

 C:\Users\NUC\martins\node_modules\electron-prebuilt\install.js:22 throw err ^ Error: read ECONNRESET at _errnoException (util.js:1022:11) at TLSWrap.onread (net.js:610:25) npm WARN martins@1.0.0 No description npm WARN martins@1.0.0 No repository field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron-prebuilt@1.4.13 postinstall: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron-prebuilt@1.4.13 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\NUC\AppData\Roaming\npm-cache\_logs\2017-08-11T09_58_33_006Z-debug.log 

任何想法如何解决这个错误?

npm安装屏幕