structuredClone was added in Node.js 17. So, update your Node.js to the latest version, and the issue will be fixed.