![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
electron
文章平均质量分 54
Callback_heaven
生命不息,奋斗不止。
展开
-
JSElectron使用speechSynthesis进行语音合成
Electron语音合成以及Win7下程序无响应问题解决方案原创 2022-06-16 16:25:24 · 1097 阅读 · 2 评论 -
Electron Builder (vue-cli-plugin-electron-builder) 打包后显示无法找到第三方模块问题解决方案之一
使用的是:Electron Builder文档为:https://nklayman.github.io/vue-cli-plugin-electron-builder/guide/#installation正片:开发完成后打包,由于内部文件引用了electron-log,打包后发现提示Cannot find module,于是开始寻找问题所在:查看了一些资料后,检查外层的package.json中的dependencies发现很全 "dependencies": { "core-js":原创 2022-01-11 10:36:52 · 4448 阅读 · 4 评论 -
Electron10版本打印机崩溃问题
经过多个版本测试,证实打印机导致程序崩溃为Electron版本问题,解决方案为退回到Electron9版本即可解决原创 2020-09-28 07:51:36 · 754 阅读 · 0 评论 -
win7中Electron使用SerialPort时的一些错误记录
安装首先在装好Electron的项目中安装SerialPort:npm install serialport使用然后在main.js中尝试使用:const SerialPort = require('serialport');const port = new SerialPort('COM1', { autoOpen: true}, (err) => { if (err) { return console.log(err.message); }});port.on(原创 2020-09-18 14:23:51 · 656 阅读 · 0 评论 -
关于Electron remote为undefined的问题
在学习的ELectron时碰到的问题,没有其他方面的问题,仅仅是remote无法饮用的情况下:解决方案由于Electron最新版本将enableRemoteModule默认值设置为false,所以要在新建BrowserWindow的时候将其打开才能使用: win = new BrowserWindow({ width:800 , height:600 , minWidth:800, minHeight:600, maxWidth:1000, maxH原创 2020-09-13 10:56:41 · 1409 阅读 · 0 评论