npm start fail ,not find createWebRtcServer

When I started npm, I found that,

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。