在 Electron 12 及更高版本,设置了 nodeIntegration: true 及 nodeIntegrationInWorker: true 、 nodeIntegrationInSubframes: true ,渲染进程仍然可能出现 require is not defined 的报错。 这个报错还跟随有 module is not defined 或 exports is not…
在 Electron 12 及更高版本,设置了 nodeIntegration: true 及 nodeIntegrationInWorker: true 、 nodeIntegrationInSubframes: true ,渲染进程仍然可能出现 require is not defined 的报错。 这个报错还跟随有 module is not defined 或 exports is not…
讨论
登录后参与讨论
还没有评论,来说第一句吧。