Electron入門筆記:安裝篇

Electron社區提供的樣板文件

組件

Photon

官網
electron畫圖工具(?)一系列css配置。

example

npm install的時候遇到問題

npm ERR! [email protected] postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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 [email protected] 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.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章