Skip to content

Unexpected identifier when creating InboundRequest #10

@dousha

Description

@dousha
undefined:1                                                                                                                          
(function anonymous([object Object],[object Object]                                                                                  
                            ^^^^^^                                                                                                   
                                                                                                                                     
SyntaxError: Unexpected identifier                                                                                                   
    at new Function (<anonymous>)                                                                                                    
    at MiraiClient.processMessage (/home/dousha/botmobot/node_modules/@dousha99/mirai-api-http-ts/build/index.js:136:37)             
    at WebSocketService.<anonymous> (/home/dousha/botmobot/node_modules/@dousha99/mirai-api-http-ts/build/index.js:54:47)            
    at WebSocketService.emit (node:events:329:20)                                                                                    
    at WebSocket.<anonymous> (/home/dousha/botmobot/node_modules/@dousha99/mirai-api-http-ts/build/src/services/WebSocketService.js:28:22)                            
    at WebSocket.emit (node:events:329:20)                        
    at Receiver.receiverOnMessage (/home/dousha/botmobot/node_modules/ws/lib/websocket.js:825:20)                                    
    at Receiver.emit (node:events:329:20)                         
    at Receiver.dataMessage (/home/dousha/botmobot/node_modules/ws/lib/receiver.js:437:14)                                           
    at Receiver.getData (/home/dousha/botmobot/node_modules/ws/lib/receiver.js:367:17)                                               

Quite a mystery.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions