egg-redis
egg-redis copied to clipboard
redis plugin for egg
##### Checklist - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] documentation is changed or added - [ ] commit message follows...
##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [ ] documentation is changed or added - [x] commit message follows commit guidelines #####...
##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [x] documentation is changed or added - [x] commit message follows commit guidelines ##### Affected...
在使用ts的过程中,发现配置文件这个编译时报错,发现index.d.ts文件中clients类型有问题。
app.redis.get('bar')获取不到实例,我已经在配置里写了client里面有两个对象实例
在请求接口 /test的时候,报错。redis的host、port以及password都是正确的,不知道是哪里出现了问题 egg-redis版本:^2.5.0 egg版本:^3 报错信息 ``` 2023-06-16 16:59:34,096 ERROR 60949 nodejs.ReplyError: NOAUTH Authentication required. at parseError (/app/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/app/node_modules/redis-parser/lib/parser.js:302:14) command: {"name":"info","args":[]} pid: 60949 hostname: sz-user.local ``` router.js ``` 'use...
"egg-redis": "^2.4.0", "egg": "^2.5.0" 本地搭建的的redis集群测试(集群状态正常)  用127.0.0.1是正常连接的,切换成内外ip就无法连接了 配置  报错信息 
https://github.com/luin/ioredis/wiki/Upgrading-from-v4-to-v5
 无操作后 reids 会出现这个问题 但是后续操作读写 reids 都是正常的 想知道这个问题 错误如何处理。
plugins 配置项 exports.redis = { enable: true, package: '@eggjs/redis', }; config 配置项 config.redis = { client: { port: 6379, // Redis port host: '127.0.0.1', Redis host password: '', db: 0,...