收藏
回答

使用官方开发者工具构建TS项目,然后引入直播订阅组件,项目直接报错。

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug subscribe 微信安卓客户端 8.0.24 2.25.0

https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/liveplayer/component-api.html


使用官方开发者工具构建TS项目,在app.json里引入直播插件,然后在相关页面json引入直播订阅组件,项目直接报错。


[] [summer-compiler] Couldn't found the 'plugin-private://wx2b03c6e691cd7370/components/subscribe/subscribe.json' file relative to 'pages/test/test.json'
Error: [summer-compiler] Couldn't found the 'plugin-private://wx2b03c6e691cd7370/components/subscribe/subscribe.json' file relative to 'pages/test/test.json'
    at AppConf.loadComp (D:\Program Files\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\graph\appconf.js:2:2499)
    at async AppConf.loadPage (D:\Program Files\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\graph\appconf.js:2:2317)
    at async D:\Program Files\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\graph\appconf.js:2:1457
    at async Recorder.run (D:\Program Files\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\recorder.js:2:771)
    at async AppConf.loadApp (D:\Program Files\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\graph\appconf.js:2:1337)
    at async AppConf.build (D:\Program Files\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\graph\appconf.js:2:838)
    at async AppGraph.getConf (D:\Program Files\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\graph\appgraph.js:2:428)
    at async SummerCompiler.getConf (D:\Program Files\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\summer.js:2:3811)
    at async process.<anonymous> (D:\Program Files\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\entry_pr


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