Electron入门笔记:安装篇

来源:互联网 发布:匿名者专用黑页源码 编辑:程序博客网 时间:2024/06/06 04:51

Electron社区提供的样板文件

组件

Photon

官网
electron画图工具(?)一系列css配置。

example

npm install的时候遇到问题

npm ERR! electron@1.6.2 postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@1.6.2 postinstall script ‘node install.js’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the electron package,
npm ERR! not with npm itself.

貌似跟electron-prebuilt的包有关,很多人都有这个问题
git hub issue: Failed at the electron-prebuilt@0.25.3-2 install script ‘node install.js’

有人说

EAI_AGAIN, ECONNRESET, and ETIMEDOUT are all indications of network timeouts, and not actual issues with the electron npm package. The best resolution is to try switching networks, or just wait a bit and try installing again.

或者

The best resolution is to try switching networks, or just wait a bit and try installing again.

0 0