node服务中,@escook,@hapi/joi报错:Cannot mix different versions of joi schemas 十三月的星期八 2021-09-01 1,424 阅读1分钟 postman 测试出现 Cannot mix different versions of joi schemas 问题 解决办法: 将 node_modules/escook/express-joi/index.js 第一行引入换成 const Joi = require('@hapi/joi') 大功告成,postman 测试通过