Cannot mix different versions of joi schemas

The version has been updated. The previous version can’t be used

1. Use the NPM I joi command to download again

2. Modify the code together as

  const   joi  =  require(‘joi’);

  Then don’t report mistakes

Read More: