Help fixing the nextjs dependency error from one of the library

Job ID: 33766965

Budget: ₹600 – ₹1,500 INR

There's a nextjs project in which I'm dealing with one of the errors related to 3rd party library (https://www.npmjs.com/package/yup).
Related categories: JavaScript React.js Next.js