Deploying to Sever

Hello again, so I’m trying to deploy mediasoup on a simple nodejs server on AWS Lightsail and when starting the server I received the error below and hoping you can help me narrow this down:

Error: spawn /opt/bitnami/apps/presentrtc/presentRtc_api/node_modules/mediasoup/worker/out/Release/mediasoup-worker ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:19)
at onErrorNT (internal/child_process.js:431:16)
at processTicksAndRejections (internal/process/task_queues.js:84:17) {
errno: ‘ENOENT’,
code: ‘ENOENT’,
syscall: 'spawn ’ +
path: ‘/opt/bitnami/apps/presentrtc/presentRtc_api/node_modules/mediasoup/worker/out/Release/mediasoup-worker’,
spawnargs: [

This means that the mediasoup-worker binary was not compiled, so something was wrong during npm install mediasoup. Didn’t it fail?

Enter into /opt/bitnami/apps/presentrtc/presentRtc_api/node_modules/mediasoup/worker/ and run make and let’s see what happens.

BTW have you installed the required dependencies to build mediasoup? They are documented in the “Installation” section of mediasoup.

No more feedback, so let’s close this.