关于网友提出的“(redis)Reids: ERR value is not an integer or out of range/ Express”问题疑问,本网通过在网上对“(redis)Reids: ERR value is not an integer or out of range/ Express”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:
问题:(redis)Reids: ERR value is not an integer or out of range/ Express
描述:// 打开页面时报错
url: http://127.0.0.1;3000/login

// login 路由设置

// login.js

使用 redis 作为缓存数据库,为了练手
请教问题出在哪里,连页面也无法渲染?
解决方案1:找到原因了,原因是显示主页时,用了一个中间件,设定了参数但是没有执行,等到其余的页面使用时,调用了刚才那个参数,因为参数类型而报错
以上介绍了“(redis)Reids: ERR value is not an integer or out of range/ Express”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/1069406.html