Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

入坑Electron经验(持续更新) #8

Open
liyatang opened this issue Jun 12, 2017 · 0 comments
Open

入坑Electron经验(持续更新) #8

liyatang opened this issue Jun 12, 2017 · 0 comments

Comments

@liyatang
Copy link
Contributor

liyatang commented Jun 12, 2017

安装 electron

你会卡在安装 electron 上 ,解决方案 https://segmentfault.com/q/1010000007594059

注意,electron_mirror="https://npm.taobao.org/mirrors/electron/" 是小写,是小写,是小写,是小写,是小写。

Node8.0.0bug

用到了 archiver ,出现了bug, node官方的bug,已修复 issue

升级node8 版本即可

webpack target

electron内用webpack和web内用webpack是不一样的。 需要设置target: 'electron-renderer'

https://webpack.js.org/configuration/target/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant