使用electron构建本地服务器时的一些问题以及解决方案_electron 服务端-CSDN博客

网站介绍:文章浏览阅读1.7k次。问题描述以及解决1,使用child_process子进程模块时报错在electron工程的main.js文件中,webPreferences增设nodeIntegration: truewebPreferences: { nodeIntegration: true,//允许嵌入Node模块 contextIsolation: false, enableRemoteModule: true } }2,使用ele_electron 服务端