安装electron-react-boilerplate遇到的问题

一、yarn安装缓慢

1 // 查看下载源
2 yarn config get registry
3 // 修改下载源
4 yarn config set registry https://registry.npm.taobao.org



二、安装调试问题

  参考链接: https://electron-react-boilerplate.js.org/docs/installation-debugging-solutions

  检查系统是否已经安装好所依赖的环境(Visual C++ 和 Python 2.7)

  若没有则以管理员身份运行npm install --global --production windows-build-tools,安装所有使用微软的必需的工具和配置Windows的构建工具

  安装好后,删除node_modules文件夹,yarn cache clean && yarn