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'...错误,但真机调试依然卡死),……也不行哦
啥情况 ?我新建不使用云开发的新的也这样应该不是云开发的问题啊?
3.4.4 的灰度问题,只影响开发者工具,已经回退了可以再试试
基础库的问题,3.4.3试试
刚遇到同样的问题,上来开发者社区,终于同步找到相同问题的友友了,在线等解决方案。。。
我刚也遇到相同问题