インストールエレクトロン
npm -g electron
カードは、移動NPM言葉のinstall.jsノードに電子インストールされない場合は、中に~/.npmrc
追加しました:
electron_mirror="https://cdn.npm.taobao.org/dist/electron/"
電子クイックスタートを使用
# Clone this repository
git clone https://github.com/electron/electron-quick-start
# Go into the repository
cd electron-quick-start
# Install dependencies
npm install
# Run the app
npm start