收藏
回答

开发工具异常,从凌晨3点多到现在,真机调试后卡死,手机看不到画面,啥情况?

1.开始 用着用着 突然出现:

[渲染层错误] Uncaught TypeError: Cannot read property 'clientHeight' of null


2.我也没动啥呀,真机调试,扫码后(要么画面卡死,要么运行缓慢):

wxapplib]] [BaseLibVersion] WAService.js: 3.4.2 (2024.4.22 17:05:46)}
(unknown) [wxapplib]] [Trace] TraceGlobal not found
eval
(unknown) [wxapplib]] [LifeCycle] emit WeixinJSBridgeReady for WAService.js
(unknown) [wxapplib]] [LifeCycle] finish WeixinJSBridgeReady for WAService.js
(unknown) [wxapplib]] [GlassEaselAdapter] TabBarManager resetTabBarManager
(unknown) [wxapplib]] [GlassEaselAdapter] AppBarManager resetAppBarManager
(unknown) [wxapplib]] [componentRegistration] Generate function of wx://not-found not found in data thread
eval
(unknown) [wxapplib]] [componentRegistration] Generate function of wx://functional-page not found in data thread
eval
(unknown) [wxapplib]] [componentRegistration] Generate function of wx://inner-page not found in data thread
eval
(unknown) [wxapplib]] [GlassEaselAdapter] createCodeSpace, id=/
(unknown) [wxapplib]] [LifeCycle] emit libraryEnd for WAService.js
(unknown) [wxapplib]] [LifeCycle] finish libraryEnd for WAService.js
(unknown) [wxapplib]] [LifeCycle] emit load for WAService.js
(unknown) [wxapplib]] [LifeCycle] finish load for WAService.js
(unknown) [wxapplib]] [LifeCycle] emit start for WAService.js
(unknown) [wxapplib]] [MsgCh/Server] preinitMessageChannel (jsbridge)
(unknown) [wxapplib]] [xnet expt] run binding
(unknown) [wxapplib]] [LaunchOptions] set launchOptions by config ready
(unknown) [wxapplib]] [EnterOptions] set enterOptions by config ready
(unknown) [wxapplib]] [CheckPoint][Service][6838] AS_Config_Ready_Begin @ 1716014330570
(unknown) [wxapplib]] 关闭 forceUseAudioDynamic
(unknown) [wxapplib]] [Plugin] start to invokeGetPluginList
(unknown) [wxapplib]] [Plugin] invokeGetPluginList ->  {}
(unknown) [wxapplib]] [Plugin] start to invokeGetContact
(unknown) [wxapplib]] [Plugin] appids are empty, skip invokeGetContact.
(unknown) [wxapplib]] [Plugin] start to invokeVerifyPlugin 1716014330999
(unknown) [wxapplib]] [Plugin] plugins is empty, skip invokeVerifyPlugin.
(unknown) [wxapplib]] [AppServiceEngine] shouldRegisterGlassEasel=containsSkyline=true
(unknown) [wxapplib]] [LifeCycle] finish start for WAService.js
(unknown) [wxapplib]] [LifeCycle] emit postStart for WAService.js
(unknown) [wxapplib]] [LifeCycle] finish postStart for WAService.js
(unknown) [wxapplib]] [LifeCycle] emit postLoad for WAService.js
(unknown) [wxapplib]] [LifeCycle] finish postLoad for WAService.js
(unknown) [Deprecation] __wxConfig.env is deprecated, please use wx.env instead.
t.
(unknown) [Deprecation] __wxConfig.appLaunchInfo is deprecated, please use wx.getLaunchOptionsSync() instead.
t.
VM13:2 [wxapplib]] [Lifetime] call App.onLaunch
VM13:2 [wxapplib]] [CheckPoint][Service][7333] App_onLaunch @ 1716014331065
VM13:2 [wxapplib]] App onLaunch have been invoked
VM13:2 [wxapplib]] [Lifetime] call App.onShow
VM13:2 [wxapplib]] [CheckPoint][Service][7334] App_onShow @ 1716014331066
VM13:2 [wxapplib]] App onShow have been invoked
VM13:2 Dynamic `styleIsolation` option in component definition of "components/navigation-bar/navigation-bar" have been deprecated, and will NOT take effect in glass-easel. Consider migrating this option to component static config (components/navigation-bar/navigation-bar.json) by adding `{ "styleIsolation": "apply-shared" }`.
checkDeprecatedStyleIsolationOptions @ VM13:2
VM13:2 [wxapplib]] [CheckPoint][Service][7279] AS_Config_Ready_End @ 1716014331011
VM13:2 [wxapplib]] [mnxnet]: _getABTestConfig: {"testConfig":"FusedResize;","errMsg":"getABTestConfig:ok"}
VM13:2 [wxapplib]] [mnxnet]: enabledNativeDipFuncList: FusedResize;

(2024-5-18 15:49 再次尝试截图 手机画面进不去卡死)

3.我以为官方更新系统啥的,去看看论坛有没有同样情况,当时打不开weixin.qq.com,再次尝试,很缓慢终于打开,论坛啥也没有,等现在再看还是那样

4.新建立一个不使用云服务,不使用模板的小程序,建完之后就这:

[Deprecation] SharedArrayBuffer will require cross-origin isolation as of M92, around July 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.
[system] WeChatLib: 3.4.4 (2024.5.17 16:03:19)
[渲染层错误] Uncaught TypeError: Cannot read property 'clientHeight' of null(env: Windows,mp,1.06.2402021; lib: 3.4.4)
[system] Subpackages: N/A
[system] LazyCodeLoading: true
Lazy code loading is enabled. Only injecting required components.
[渲染层错误] Uncaught TypeError: Cannot read property 'clientHeight' of null(env: Windows,mp,1.06.2402021; lib: 3.4.4)
Sat May 18 2024 14:28:12 GMT+0800 (中国标准时间)
Skyline 渲染模式在 2.29.2 及以上基础库支持。
当前小程序设置线上最低基础库版本:2.14.1,在低版本的客户端中,将使用 WebView 渲染模式进行渲染。
需要保证页面[pages/index/index]同时在两种渲染模式下都能够正常显示;
 点此切换渲染模式   不再提示
[基础库] 正在使用灰度中的基础库 3.4.4 进行调试。如有问题,请前往工具栏-详情-本地设置更改基础库版本。
[渲染层错误] Uncaught TypeError: Cannot read property 'clientHeight' of null(env: Windows,mp,1.06.2402021; lib: 3.4.4)

(2024-5-18 15:46 再次尝试 截图)

5.啥也没做然后就真机调试,错误如上面第 2 条所示

6.我回退过版本、修改过基础库(有的低版本不提示...'clientHeight'...错误,但真机调试依然卡死),……也不行哦

啥情况 ?我新建不使用云开发的新的也这样应该不是云开发的问题啊?

最后一次编辑于  05-18
回答关注问题邀请回答
收藏

4 个回答

  • 微信小店技术专员-binnie
    微信小店技术专员-binnie
    05-20

    3.4.4 的灰度问题,只影响开发者工具,已经回退了可以再试试

    05-20
    有用
    回复 1
    • momo
      momo
      05-20
      我刚试了稳定版最新版,基础库也换了几个,问题依旧,既然大家的都可以,就说明还是我本机哪里设置的和大家不一样,刚刚在真机调试哪里,有个真机2.0点击了一下,可以了,可能是之前不小心点到它了,哎。。。现在可以了,感谢各位!
      05-20
      回复
  • Deloz§
    Deloz§
    05-19

    基础库的问题,3.4.3试试

    05-19
    有用
    回复
  • 骑着牛牛去割韭菜
    骑着牛牛去割韭菜
    05-18

    刚遇到同样的问题,上来开发者社区,终于同步找到相同问题的友友了,在线等解决方案。。。

    05-18
    有用
    回复 5
    • momo
      momo
      05-18
      亲人哪,我等一天了,等得花儿都谢了,我以为就我自己有这样的问题,换手机测试也不行,哎。。。
      05-18
      回复
    • 骑着牛牛去割韭菜
      骑着牛牛去割韭菜
      05-18
      刚改调试基础库为3.4.2就不报错
      05-18
      1
      回复
    • 骑着牛牛去割韭菜
      骑着牛牛去割韭菜
      05-18回复momo
      刚改调试基础库为3.4.2就不报错
      05-18
      回复
    • momo
      momo
      05-18回复骑着牛牛去割韭菜
      是的,我的问题不只是报错的问题,真机调试后卡死,进不去啊
      05-18
      回复
    • Sugus
      Sugus
      05-19回复骑着牛牛去割韭菜
      嗯,这方法可行,灰度版本有bug
      05-19
      回复
  • Sugus
    Sugus
    05-18

    我刚也遇到相同问题

    05-18
    有用
    回复 3
    • Sugus
      Sugus
      05-18
      真机调试正常,就是开发者工具显示空白
      05-18
      回复
    • momo
      momo
      05-18
      是啊,本来好好的,这下回不去了。。。。
      05-18
      回复
    • momo
      momo
      05-18
      你真机调试正常,和我情况有点不一样,我是真机调试不正常
      05-18
      回复
登录 后发表内容