卑微幻想家's Blog
  • 首页
  • 所有文章
  • Drools入门
  • Spring5底层原理
  • JVM
  • 友链
  • Reading
  • 最新动态
  • 游戏人生
  • 留言
  • 标签
  • 文章分类
  • 关于
electron
Hello Fluid

electron打包报错

E:\electronDir\chapter1>yarn run makeyarn run v1.22.17$ electron-forge make√ Checking your system√ Resolving Forge ConfigWe need to package your ap
2022-05-19
electron
Hello Fluid

electron 使用remote报错

在渲染进程中,使用remote模块,getCurrentWindow()报错。 Uncaught TypeError: Cannot read properties of undefined (reading 'getCurrentWindow')
2022-05-19
electron
Hello Fluid

webstorm调试electron主进程

第一步:点击 Edit Configurations第二步:点击+号,选择Node.js第三步:按下图进行填写。其中,Node interpreter 选择项目目录/node_modules/.bin/electron.cmdJavaScript file 是主进程文件名第四步:然后在主进程打上断点
2022-05-18
electron
Hello Fluid

electron nodeIntegration设置为true渲染进程依旧不能使用node

在主进程中设置了nodeIntegration: true,但是渲染进程依旧不能使用Node。如图:主进程代码app.on('ready', () => { const mainWindow = new BrowserWindow({ width: 800, height: 60
2021-06-09
electron
1

搜索

蜀ICP备2021029326号
Powered by Halo | Theme by 卑微幻想家