收藏
回答

开发者工具更新后 代码报 illegal buffer 这是怎么回事?

illegal buffer;at App sendMessage function;at onSocketMessage callback function Error: illegal buffer

更新完以后 我用decode 方法 提示 非法缓冲

回答关注问题邀请回答
收藏

3 个回答

  • 社区技术运营专员--许涛
    社区技术运营专员--许涛
    2020-09-21

    你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

    2020-09-21
    有用
    回复 10
    查看更多(5)
  • Bo-Tree
    Bo-Tree
    2021-01-12

    今天更新都 1.03.2012120 报同样的问题。rror: illegal buffer

        at Function.create_typed_array [as create] (message.js:formatted:1)

        at Type.decode (message.js:formatted:1)

        at Object.decode (message.js:formatted:1)

        at Proto.decodeMsg (message.js:formatted:1)

        at Socket.onMessage (message.js:formatted:1)

        at Socket.<anonymous> (message.js:formatted:1)

        at :30704/appservice/<socketTask.onmessage callback function>

        at VM273 WAService.js:2

        at VM273 WAService.js:2

        at Set.forEach (<anonymous>)

    不知道开发工具做了什么修改,上个版本,插件上传没有生产id,这个版本以为修复了上个问题,没想到 又有新问题。咱们都不测试就发布吗?

    2021-01-12
    有用
    回复
  • 工号 9527
    工号 9527
    2020-09-21

    请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

    2020-09-21
    有用
    回复 4
登录 后发表内容
问题标签