Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

This module does not pass nodeIntegration:true so you can't require in pooled tasks anymore. #49

Open
bengotow opened this issue Apr 20, 2020 · 0 comments

Comments

@bengotow
Copy link

bengotow commented Apr 20, 2020

This is mostly a note to save folks who are debugging problems with this module and newer versions of Electron. This line:

let bw = new BrowserWindow({width: 500, height: 500, show: false});

Needs to be updated to enable nodeIntegration, or calling require in your task pool root script won't work. This is breaking electron-spellcheck and probably others, but they should probably move away from this module if possible since it's been deprecated!

Related: electron-userland/electron-spellchecker#152

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant