Joi validation not running in NODE.Js

Hi Mosh, I am Samuel. I enrolled for the node.Js course. I am currently in the Input Validation section. my Joi.validate is returning “Joi.validate is not a function” on my Postman. How I can fix this please. Thank you.


Kindly find attached images for references

The joi validation in the node js is alr deprecated and there is new implementation when using it. Either try using the same exact version mosh’s is using or learn the new implementation by googling.