TypeError:Joi.validate is not a function 解决办法
报错如下
解决办法
把最新版本的joi卸载,下以前的joi版本
//卸载当前目录下的joi
node uninstall joi
//安装指定的旧版本的joi
node install joi@14.3.1
//卸载当前目录下的joi
node uninstall joi
//安装指定的旧版本的joi
node install joi@14.3.1
上一篇:【博客项目】—用户新增功能(九)
下一篇:【博客项目】—Joi(八)
运用基于tensorfl
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M