Joi.validate is a not function解決辦法及最新joi驗證方法

Joi.validate is a not function解決辦法及最新joi驗證方法 使用Joi.validate()方法報錯:Joi.validate is not a function的原因是因爲這個方法已經被joi棄用了,有兩種解決方法 把最新版本的joi卸載,下以前的joi版本 npm uninstall joi npm install [email protected] 使用最新方法
相關文章
相關標籤/搜索