Skip to content

Error caused when call getDriver in async function #13

@SeungjunWe

Description

@SeungjunWe

Code Example

Error message

/project/node_modules/tgrid/components/Communicator.js:395
    func = func.bind(thisArg);
                                     ^
TypeError: Cannot read properties of undefined (reading 'bind')
    at WebAcceptor.<anonymous> (/project/node_modules/tgrid/components/Communicator.js:395:37)
    at step (/project/node_modules/tgrid/components/Communicator.js:33:23)
    at Object.next (/project/node_modules/tgrid/components/Communicator.js:14:53)
    at /project/node_modules/tgrid/components/Communicator.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/project/node_modules/tgrid/components/Communicator.js:4:12)
    at WebAcceptor.Communicator._Handle_function (/project/node_modules/tgrid/components/Communicator.js:351:16)
    at WebAcceptor.Communicator.replyData (/project/node_modules/tgrid/components/Communicator.js:343:18)
    at WebAcceptor._Handle_message (/project/node_modules/tgrid/protocols/web/WebAcceptor.js:269:18)
    at WebSocket.emit (node:events:513:28)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions