Home > front end >  When using the validated joi meets a strange question
When using the validated joi meets a strange question

Time:12-07

Clearly no error code, see a lot of online writing is written like me, the result is an error Joi. Validate is not a function, as shown in figure:

CodePudding user response:

Version problem, what is the latest version of the 17 or
//remove the current directory joi component
The node uninstall joi

//close the terminal window, to open a terminal window, install the specified version of joi
The node install [email protected]
  • Related