Skip to content

能支持socket.io-client 4.6.1最新版本吗? #107

@kingchen2008

Description

@kingchen2008

用socket.io-client 4.6.1打包,在微信小程序中使用,出现eval之类的错误。
TypeError: Cannot read property 'bind' of undefined
at a (weapp.socket.io4.6.1.wx.js:1)
at new q (weapp.socket.io4.6.1.wx.js:10)
at V (weapp.socket.io4.6.1.wx.js:10)
at Object.initSocketClient (initSocket.js:68)
at eval (app.js? [sm]:301)
at H (eval at n.call.document (runtime.js?devtools_ignore=true:1), :2:68639)
at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), :2:68861)
at C (eval at n.call.document (runtime.js?devtools_ignore=true:1), :2:38338)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions