在尝试Electron过程当中出现找不到path.txt错误:node
Error: ENOENT: no such file or directory, open node_modules/electron/path.txt
解决:electron
cd node_modules/electron && node install.js
再看一下electron目录下面,有了path.txtcode