收藏
回答

系统默认的调试器正常,只要真机调试无论局域网模式还是广域网模式,调试页面控制台直接报错,小程序不运行

框架类型 问题类型 操作系统 工具版本
小程序 Bug Windows 调试基础库版本3.6.5 ; 真机调试器微信版本8.0.53

真机调试界面 Console报错的log:

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

回答关注问题邀请回答
收藏
登录 后发表内容