codestates / codestates/Subllet
[ERR] the client is closed
Open
ERR
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### 어떤 에러인가요?
- redis-server, redis-cli 연결과 package.json 등록, code 작성까지 완료했으나 redis가 동작하지 않았습니다.
### 에러 메시지
```shell
$ the client is closed
```
### 에러 핸들링 방법
- 기존의 클라이언트가 아닌 다른 클라이언트를 사용해 해결했습니다. 실제 아래의 클라이언트가 가장 높은 점유율을 가지고 있었습니다.
```js
const Redis = require("ioredis");
const redis = new Redis(6379, "127.0.0.1");
```
### 에러 핸들링을 위해 참고한 레퍼런스 링크
[https://redis.io/clients#nodejs](https://redis.io/clients#nodejs)
[https://github.com/luin/ioredis](https://github.com/luin/ioredis)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.