npm start fail ,not find createWebRtcServer

When I started npm, I found that,

/usr/local/mediasoup-demo/server/server.js:133
const webRtcServer = await worker.createWebRtcServer(webRtcServerOptions);
^

TypeError: worker.createWebRtcServer is not a function
at runMediasoupWorkers (/usr/local/mediasoup-demo/server/server.js:133:38)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async run (/usr/local/mediasoup-demo/server/server.js:69:2)

could you tell me whether I failed to compile or what the reason is?

You are not using last mediasoup version probably

thanks,I successfully deployed。

Great you successfully deployed can please help me with this I am facing the similar issue.