收藏
回答

连接局域网失败ws://********:8001/失败,已切换回广域网模式 真机局域网调试不行哦?

已切换老版本了,还是不行

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

3 个回答

  • Demons
    Demons
    08-16

    工具切换一下https://developers.weixin.qq.com/miniprogram/dev/devtools/nightly.html这个版本

    08-16
    有用
    回复 1
    • 哈哈
      哈哈
      08-16
      还是不行,
      08-16
      回复
  • 大海绵
    大海绵
    11-13

    我也有这个问题,局域网调试就报这个错误,自己切换广域网连上了 还真机调试还崩溃

    ide:///extensions/remote-debug/index.js:1 error run publib TypeError: Cannot read property 'Int8Array' of undefined

        at eval (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:82422)

        at Array.forEach (<anonymous>)

        at Module.8071 (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:82393)

        at r (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:82585)

        at eval (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:83807)

        at eval (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:83856)

        at eval (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:83860)

        at eval (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:3276662)

        at eval (<anonymous>)

        at Object.Ce.t.call.document (ide:///extensions/remote-debug/index.js:1)

    value @ ide:///extensions/remote-debug/index.js:1

    debug:///[__publibRunErrorHelper__]:4 2024/11/13下午12:00:34Public library failed to run

    debug:///[__publibRunErrorHelper__]:5 There might be an error running the public library.

    Please refer to: https://developers.weixin.qq.com/community/develop/doc/000cca451006984364d8a94c351808

    eval @ debug:///[__publibRunErrorHelper__]:5

    debug:///[__publibRunErrorHelper__]:6 Debug information:

    debug:///[__publibRunErrorHelper__]:7 Object

    ide:///extensions/remote-debug/index.js:1 subscribeHandler injected failed

    value @ ide:///extensions/remote-debug/index.js:1

    ide:///extensions/remote-debug/index.js:1 ReferenceError: define is not defined

        at eval (weapp:///app.js:1)

        at eval (<anonymous>)

        at ye (ide:///extensions/remote-debug/index.js:1)

        at ide:///extensions/remote-debug/index.js:1

        at ve (ide:///extensions/remote-debug/index.js:1)

        at Ce (ide:///extensions/remote-debug/index.js:1)

        at We (ide:///extensions/remote-debug/index.js:1)

        at WebSocket.Ge.ze.onmessage (ide:///extensions/remote-debug/index.js:1)

    ye @ ide:///extensions/remote-debug/index.js:1

    ide:///extensions/remote-debug/index.js:1 ReferenceError: define is not defined

        at eval (weapp:///components/navigation-bar/navigation-bar.js:1)

        at eval (<anonymous>)

        at ye (ide:///extensions/remote-debug/index.js:1)

        at ide:///extensions/remote-debug/index.js:1

        at ve (ide:///extensions/remote-debug/index.js:1)

        at Ce (ide:///extensions/remote-debug/index.js:1)

        at We (ide:///extensions/remote-debug/index.js:1)

        at WebSocket.Ge.ze.onmessage (ide:///extensions/remote-debug/index.js:1)

    ye @ ide:///extensions/remote-debug/index.js:1

    ide:///extensions/remote-debug/index.js:1 ReferenceError: define is not defined

        at eval (weapp:///pages/index/index.js:1)

        at eval (<anonymous>)

        at ye (ide:///extensions/remote-debug/index.js:1)

        at ide:///extensions/remote-debug/index.js:1

        at ve (ide:///extensions/remote-debug/index.js:1)

        at Ce (ide:///extensions/remote-debug/index.js:1)

        at We (ide:///extensions/remote-debug/index.js:1)

        at WebSocket.Ge.ze.onmessage (ide:///extensions/remote-debug/index.js:1)

    ye @ ide:///extensions/remote-debug/index.js:1

    ide:///extensions/remote-debug/index.js:1 ReferenceError: define is not defined

        at eval (weapp:///pages/search/search.js:1)

        at eval (<anonymous>)

        at ye (ide:///extensions/remote-debug/index.js:1)

        at ide:///extensions/remote-debug/index.js:1

        at ve (ide:///extensions/remote-debug/index.js:1)

        at Ce (ide:///extensions/remote-debug/index.js:1)

        at We (ide:///extensions/remote-debug/index.js:1)

        at WebSocket.Ge.ze.onmessage (ide:///extensions/remote-debug/index.js:1)

    ye @ ide:///extensions/remote-debug/index.js:1

    ide:///extensions/remote-debug/index.js:1 ReferenceError: define is not defined

        at eval (weapp:///pages/scanqr/scanqr.js:1)

        at eval (<anonymous>)

        at ye (ide:///extensions/remote-debug/index.js:1)

        at ide:///extensions/remote-debug/index.js:1

        at ve (ide:///extensions/remote-debug/index.js:1)

        at Ce (ide:///extensions/remote-debug/index.js:1)

        at We (ide:///extensions/remote-debug/index.js:1)

        at WebSocket.Ge.ze.onmessage (ide:///extensions/remote-debug/index.js:1)

    ye @ ide:///extensions/remote-debug/index.js:1

    ide:///extensions/remote-debug/index.js:1 ReferenceError: define is not defined

        at eval (weapp:///pages/info/info.js:1)

        at eval (<anonymous>)

        at ye (ide:///extensions/remote-debug/index.js:1)

        at ide:///extensions/remote-debug/index.js:1

        at ve (ide:///extensions/remote-debug/index.js:1)

        at Ce (ide:///extensions/remote-debug/index.js:1)

        at We (ide:///extensions/remote-debug/index.js:1)

        at WebSocket.Ge.ze.onmessage (ide:///extensions/remote-debug/index.js:1)

    ye @ ide:///extensions/remote-debug/index.js:1

    11-13
    有用
    回复
  • 哈哈
    哈哈
    08-16

    是不是微信那边把端口关掉了。还是什么的。

    08-16
    有用
    回复 1
    • Fuwa
      Fuwa
      11-25
      你解决了吗?我也遇到这种情况了。。。
      11-25
      回复
登录 后发表内容