为了账号安全,请及时绑定邮箱和手机立即绑定

Mac 运行electron .保存

ogon:~ carreryyan$ sudo electron .
/usr/local/lib/node_modules/electron/index.js:14
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
^

Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at getElectronPath (/usr/local/lib/node_modules/electron/index.js:14:11)
at Object.<anonymous> (/usr/local/lib/node_modules/electron/index.js:18:18)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/electron/cli.js:3:16)


我也不知道path.txt文件干什么的 运行就保错

正在回答

举报

0/150
提交
取消

Mac 运行electron .保存

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信