-
I'm submitting a ...
[ x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
-
Summary
Everything works fine until I try to make a call to atem.connect()
In which case I run into the following error:
Uncaught (in promise) Error: The V8 platform used by this instance of Node does not support creating Workers
at new Worker (internal/worker.js:148)
at new WorkerThread (/Users/liviuiosim/Do…workerThreads.js:14)
at Object.forkWorkerThread (/Users/liviuiosim/Do…workerThreads.js:52)
at ThreadedClassManagerClassInternal._createFork (/Users/liviuiosim/Do…cess/manager.js:569)
at ThreadedClassManagerClassInternal.findNextAvailableChild (/Users/liviuiosim/Do…cess/manager.js:126)
at /Users/liviuiosim/Do…hreadedClass.js:144
at new Promise (<anonymous>)
at Object.threadedClass (/Users/liviuiosim/Do…threadedClass.js:29)
at AtemSocket.<anonymous> (/Users/liviuiosim/Do…ib/atemSocket.js:90)
at Generator.next (<anonymous>)
- Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
I understand that this might be more of an Electron issue, as specified here, and here
I have the following BrowserWindow options:
win = new BrowserWindow({
webPreferences: {
nodeIntegrationInWorker: true,
nodeIntegration: true,
allowRunningInsecureContent: (serve) ? true : false,
},
});
With the following versions:
"electron": "^11.3.0",
"atem-connection": "^2.4.0",
Is there any other implementation with an electron-friendly thread library? Or does anybody have an idea of a potential fix?
I'm submitting a ...
[ x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
Everything works fine until I try to make a call to
atem.connect()In which case I run into the following error:
I understand that this might be more of an Electron issue, as specified here, and here
I have the following BrowserWindow options:
With the following versions:
Is there any other implementation with an electron-friendly thread library? Or does anybody have an idea of a potential fix?