I was trying to use this with React JS UI. and on my own button starting the connect
but on this._worker = new Worker() getting this error
TypeError: _workerP__WEBPACK_IMPORTED_MODULE_6__.default is not a constructor
at WorkerBasedMumbleConnector._postMessage (worker-client.js:37:1)
at WorkerBasedMumbleConnector.setSampleRate (worker-client.js:28:1)
at GlobalBindings.connect (lib.js:209:1)
at lib.js:352:1
I was trying to use this with React JS UI. and on my own button starting the connect
but on
this._worker = new Worker()
getting this errorTypeError: _workerP__WEBPACK_IMPORTED_MODULE_6__.default is not a constructor at WorkerBasedMumbleConnector._postMessage (worker-client.js:37:1) at WorkerBasedMumbleConnector.setSampleRate (worker-client.js:28:1) at GlobalBindings.connect (lib.js:209:1) at lib.js:352:1
worker.js is exporting like
export default null
any way to fix it?