yarn install causes mediasoup-worker ENOENT


On MacOS in a project using yarn and workspaces, every time i run yarn (install) i have to rebuild mediasoup because of this error :

Error: spawn …/node_modules/mediasoup/worker/out/Release/mediasoup-worker ENOENT

Then i have to run npm rebuild mediasoup to fix this error.

Any idea ?


As told in GitHub, no idea about “yarn workspaces”. Can you reproduce the issue using yarn to install the mediasoup-demo project? If so, please describe the steps and I’ll try to reproduce.