Open ulftietze opened 7 months ago
When trying to start the hub's service "dialog", the error message is always the missing module 'protoo-server'.
System:
Output log:
Attaching to dialog-1 dialog-1 | dialog-1 | > dialog@0.0.1 start dialog-1 | > DEBUG=${DEBUG:='*mediasoup* *INFO* *WARN* *ERROR*'} INTERACTIVE=${INTERACTIVE:='true'} node index.js dialog-1 | dialog-1 | process.env.DEBUG: *mediasoup* *INFO* *WARN* *ERROR* dialog-1 | config.js: dialog-1 | { dialog-1 | "domain": "localhost", dialog-1 | "https": { dialog-1 | "listenIp": "0.0.0.0", dialog-1 | "listenPort": 4443, dialog-1 | "tls": { dialog-1 | "cert": "/etc/ssl/fullchain.pem", dialog-1 | "key": "/etc/ssl/privkey.pem" dialog-1 | } dialog-1 | }, dialog-1 | "adminHttp": { dialog-1 | "listenIp": "0.0.0.0", dialog-1 | "listenPort": 7000 dialog-1 | }, dialog-1 | "mediasoup": { dialog-1 | "numWorkers": 4, dialog-1 | "workerSettings": { dialog-1 | "logLevel": "warn", dialog-1 | "logTags": [ dialog-1 | "info", dialog-1 | "ice", dialog-1 | "dtls", dialog-1 | "rtp", dialog-1 | "srtp", dialog-1 | "rtcp", dialog-1 | "rtx", dialog-1 | "bwe", dialog-1 | "score", dialog-1 | "simulcast", dialog-1 | "svc", dialog-1 | "sctp" dialog-1 | ], dialog-1 | "rtcMinPort": 40000, dialog-1 | "rtcMaxPort": 49999 dialog-1 | }, dialog-1 | "routerOptions": { dialog-1 | "mediaCodecs": [ dialog-1 | { dialog-1 | "kind": "audio", dialog-1 | "mimeType": "audio/opus", dialog-1 | "clockRate": 48000, dialog-1 | "channels": 2 dialog-1 | }, dialog-1 | { dialog-1 | "kind": "video", dialog-1 | "mimeType": "video/VP8", dialog-1 | "clockRate": 90000, dialog-1 | "parameters": { dialog-1 | "x-google-start-bitrate": 1000 dialog-1 | } dialog-1 | }, dialog-1 | { dialog-1 | "kind": "video", dialog-1 | "mimeType": "video/VP9", dialog-1 | "clockRate": 90000, dialog-1 | "parameters": { dialog-1 | "profile-id": 2, dialog-1 | "x-google-start-bitrate": 1000 dialog-1 | } dialog-1 | }, dialog-1 | { dialog-1 | "kind": "video", dialog-1 | "mimeType": "video/h264", dialog-1 | "clockRate": 90000, dialog-1 | "parameters": { dialog-1 | "packetization-mode": 1, dialog-1 | "profile-level-id": "4d0032", dialog-1 | "level-asymmetry-allowed": 1, dialog-1 | "x-google-start-bitrate": 1000 dialog-1 | } dialog-1 | }, dialog-1 | { dialog-1 | "kind": "video", dialog-1 | "mimeType": "video/h264", dialog-1 | "clockRate": 90000, dialog-1 | "parameters": { dialog-1 | "packetization-mode": 1, dialog-1 | "profile-level-id": "42e01f", dialog-1 | "level-asymmetry-allowed": 1, dialog-1 | "x-google-start-bitrate": 1000 dialog-1 | } dialog-1 | } dialog-1 | ] dialog-1 | }, dialog-1 | "webRtcTransportOptions": { dialog-1 | "listenIps": [ dialog-1 | { dialog-1 | "ip": "127.0.0.1" dialog-1 | }, dialog-1 | { dialog-1 | "ip": "0.0.0.0" dialog-1 | } dialog-1 | ], dialog-1 | "initialAvailableOutgoingBitrate": 1000000, dialog-1 | "minimumAvailableOutgoingBitrate": 600000, dialog-1 | "maxSctpMessageSize": 262144, dialog-1 | "maxIncomingBitrate": 1500000 dialog-1 | } dialog-1 | }, dialog-1 | "authKey": "/etc/perms.pub.pem" dialog-1 | } dialog-1 | node:internal/modules/cjs/loader:1143 dialog-1 | throw err; dialog-1 | ^ dialog-1 | dialog-1 | Error: Cannot find module 'protoo-server' dialog-1 | Require stack: dialog-1 | - /code/index.js dialog-1 | at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) dialog-1 | at Module._load (node:internal/modules/cjs/loader:981:27) dialog-1 | at Module.require (node:internal/modules/cjs/loader:1231:19) dialog-1 | at require (node:internal/modules/helpers:177:18) dialog-1 | at Object.<anonymous> (/code/index.js:20:16) dialog-1 | at Module._compile (node:internal/modules/cjs/loader:1364:14) dialog-1 | at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) dialog-1 | at Module.load (node:internal/modules/cjs/loader:1203:32) dialog-1 | at Module._load (node:internal/modules/cjs/loader:1019:12) dialog-1 | at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) { dialog-1 | code: 'MODULE_NOT_FOUND', dialog-1 | requireStack: [ '/code/index.js' ] dialog-1 | } dialog-1 | dialog-1 | Node.js v18.20.2 dialog-1 exited with code 1
When trying to start the hub's service "dialog", the error message is always the missing module 'protoo-server'.
System:
Output log: