Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

첫 실행 시 오류 발생 #3

Closed
yj0524 opened this issue Dec 28, 2023 · 1 comment
Closed

첫 실행 시 오류 발생 #3

yj0524 opened this issue Dec 28, 2023 · 1 comment

Comments

@yj0524
Copy link
Contributor

yj0524 commented Dec 28, 2023

node_modules/chzzk/dist/chat/chat.js:146
                    for (const chat of chats) {
                                       ^

TypeError: chats is not iterable
    at ChzzkChat.<anonymous> (node_modules/chzzk/dist/chat/chat.js:146:40)
    at Generator.next (<anonymous>)
    at node_modules/chzzk/dist/chat/chat.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (node_modules/chzzk/dist/chat/chat.js:4:12)
    at ChzzkChat.handleMessage (node_modules/chzzk/dist/chat/chat.js:124:16)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onMessage (node_modules/ws/lib/event-target.js:209:9)
    at WebSocket.emit (node:events:517:28)
    at Receiver.receiverOnMessage (node_modules/ws/lib/websocket.js:1203:20)

Node.js 18, 19, 20, 21 모두 오류가 발생합니다.

@kimcore
Copy link
Owner

kimcore commented Dec 28, 2023

1.0.10 버전에서 해결되었습니다. 제보 감사합니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants