Error message:
This error is reported because the downloaded joi version does not support the Validate method
Solution:
- Uninstall the currently installed joi components
- Reinstall joi
cnpm install [email protected]
or
npm install [email protected]
I hope that the solution I shared can help more friends, and I hope everyone likes and comments a lot.
Self-motivation
The environment will not change, the solution is to change yourself.