摘要: https://blog.csdn.net/adley_app/article/details/95165584 GYP是一种构建自动化工具。 node gyp:node下的gyp。 为什么要有node gyp? npm 为了方便干脆就直接源码分发,用户装的时候再现场编译。 因为node程序中需要调 阅读全文
posted @ 2020-02-03 18:50 Juwan 阅读(2733) 评论(0) 推荐(0) 编辑
摘要: npm config set ... registry=https://registry.npm.taobao.org sass_binary_site=https://npm.taobao.org/mirrors/node sass/ ELECTRON_MIRROR=https://npm.tao 阅读全文
posted @ 2020-02-03 16:25 Juwan 阅读(3948) 评论(0) 推荐(0) 编辑
摘要: 把dll的load放在Electron中,就会报一个错: Error: A dynamic link library (DLL) initialization routine failed 这显然就是dll没有加载成功,为什么在Node中已经试过没问题的方法会在Electron中出问题,我此刻内心是 阅读全文
posted @ 2020-02-03 14:49 Juwan 阅读(4046) 评论(0) 推荐(0) 编辑
摘要: Windows系统编译 下载安装: node v9.8.0 yarn 1.9.4 安装windows编译工具 npm install global windows build tools 安装项目依赖 yarn install 开始编译,打包 npm run build npm run releas 阅读全文
posted @ 2020-02-03 14:47 Juwan 阅读(2656) 评论(0) 推荐(0) 编辑