ShayBox / Mon2Cam

Workaround for multi-monitor Discord screensharing
MIT License
337 stars 33 forks source link

Can't execute Argument Error #58

Closed roa-sh closed 3 years ago

roa-sh commented 3 years ago

I have this issue when i try mon2cam:

error: TS2345 [ERROR]: Argument of type 'undefined' is not assignable to parameter of type 'Sink[] | PromiseLike<Sink[]>'. resolve(undefined);


    at https://raw.githubusercontent.com/ShayBox/Mon2Cam/master/src/backends/audio.ts:83:12

I have installed all dependencies :(
ShayBox commented 3 years ago

Should be fixed now

roa-sh commented 3 years ago

Thanks, it is.

But now i have: error: TS2304 [ERROR]: Cannot find name 'reject'. reject();


    at https://raw.githubusercontent.com/ShayBox/Mon2Cam/master/src/backends/audio.ts:83:4