收藏
回答

学习TS-Skyline基础模板,新建模板项目调试竟然报许多警告和一些错误,有人能分析一下吗?

[自动热重载] 已开启代码文件保存后自动热重载

无效的 app.json rendererOptions.skyline["tagNameStyleIsolation"]

[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.15.1 (2026.4.1 11:13:56)

[system] Subpackages: N/A

[system] LazyCodeLoading: true

Lazy code loading is enabled. Only injecting required components.

Sun Apr 05 2026 22:49:29 GMT+0800 (中国标准时间) 文章推荐

getSystemInfo API 提示

小程序基础库从 3.7.0 起正式支持 HarmonyOS 平台,开发者可通过 wx.getDeviceInfo() 判断平台进行兼容处理,让小程序在 HarmonyOS 也获得最佳体验,查看指引[https://developers.weixin.qq.com/community/develop/doc/00008e041106f0259bb33530164409]

关于上述警告,点击查看更多信息:https://developers.weixin.qq.com/community/develop/doc/00008e041106f0259bb33530164409]

无效的 app.json rendererOptions.skyline["tagNameStyleIsolation"]

[基础库] 正在使用灰度中的基础库 3.15.1 进行调试。如有问题,请前往工具栏-详情-本地设置更改基础库版本。

[skyline] skyline 版本号: 1.4.7, 版本记录: c7e0cc17c7b204626cef7e8c4ead3dab536cb865

TypeError: Cannot read property '__subscribe_webviewId' of undefined

    at WAServiceMainContext.js?t=wechat&v=3.15.1:1

    at WAServiceMainContext.js?t=wechat&v=3.15.1:1

    at n._emit (WAServiceMainContext.js?t=wechat&v=3.15.1:1)

    at n.emit (WAServiceMainContext.js?t=wechat&v=3.15.1:1)(env: Windows,mp,2.01.2510290; lib: 3.15.1)

3TypeError: Cannot read property '__subscribe_webviewId' of undefined

    at WAServiceMainContext.js?t=wechat&v=3.15.1:1

    at WAServiceMainContext.js?t=wechat&v=3.15.1:1

    at n._emit (WAServiceMainContext.js?t=wechat&v=3.15.1:1)

    at n.emit (WAServiceMainContext.js?t=wechat&v=3.15.1:1)(env: Windows,mp,2.01.2510290; lib: 3.15.1)

[skyline wxss warning] Unsupported Property. Style Text: -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E  %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M10 19.438L8.955 20.5l-7.666-7.79a1.02 1.02 0 0 1 0-1.42L8.955 3.5 10 4.563 2.682 12 10 19.438z'/%3E%3C/svg%3E") no-repeat 50% 50%; (/components/navigation-bar/navigation-bar.wxss:52:16)

Unsupported Property. Style Text: -webkit-mask-size: cover; (/components/navigation-bar/navigation-bar.wxss:54:315)

navigation-bar.js? [sm]:63 wx.getSystemInfo is deprecated.Please use wx.getSystemSetting/wx.getAppAuthorizeSetting/wx.getDeviceInfo/wx.getWindowInfo/wx.getAppBaseInfo instead.

attached @ navigation-bar.js? [sm]:63

o @ VM947:1

(anonymous) @ VM947:1

(anonymous) @ VM947:1

emit @ VM947:1

(anonymous) @ VM947:1

(anonymous) @ VM947:1

subscribeHandler @ VM947:1

Sun Apr 05 2026 22:49:30 GMT+0800 (中国标准时间)

Skyline 渲染模式在 2.29.2 及以上基础库支持。

当前小程序未设置线上最低基础库版本,在低版本的客户端中,将使用 WebView 渲染模式进行渲染。

需要保证页面[pages/index/index]同时在两种渲染模式下都能够正常显示;

 点此切换渲染模式   不再提示

[system] Launch Time: 4324 ms

Error: timeout

    at Function.<anonymous> (WAServiceMainContext.js?t=wechat&v=3.15.1:1)

    at p (WAServiceMainContext.js?t=wechat&v=3.15.1:1)

    at WAServiceMainContext.js?t=wechat&v=3.15.1:1

    at Timeout._onTimeout (WAServiceMainContext.js?t=wechat&v=3.15.1:1)

    at listOnTimeout (node:internal/timers:557)

    at processTimers (node:internal/timers:500)(env: Windows,mp,2.01.2510290; lib: 3.15.1)

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

1 个回答

  • 智能回答 智能回答 本次回答由AI生成
    12小时前
    有用
    回复
登录 后发表内容