midwayjs / midway

🍔 A Node.js Serverless Framework for front-end/full-stack developers. Build the application for next decade. Works on AWS, Alibaba Cloud, Tencent Cloud and traditional VM/Container. Super easy integrate with React and Vue. 🌈
https://www.midwayjs.org/
MIT License
7.34k stars 573 forks source link

Cannot find module 'cache-manager-ioredis' #1887

Open wy2022 opened 2 years ago

wy2022 commented 2 years ago

image

image

另外

cache: { store: redisStore, options: { host: 'localhost', // default value port: 6379, // default value password: '', db: 0, keyPrefix: 'cache:', ttl: 100 }, }

按照示例 options无法定义,类型错误

czy88840616 commented 2 years ago

cache-manager-ioredis 这类依赖是要用户自己装的。