使用官方开发者工具构建TS项目,在app.json里引入直播插件,然后在相关页面json引入直播订阅组件,项目直接报错。
[] [summer-compiler] Couldn't found the 'plugin-private://wx2b03c6e691cd7370/components/subscribe/subscribe.json' file relative to 'pages/index/index.json'
Error: [summer-compiler] Couldn't found the 'plugin-private://wx2b03c6e691cd7370/components/subscribe/subscribe.json' file relative to 'pages/index/index.json'
at AppConf.loadComp (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\graph\appconf.js:2:2499)
at async AppConf.loadPage (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\graph\appconf.js:2:2317)
at async C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\graph\appconf.js:2:1457
at async Recorder.run (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\recorder.js:2:771)
at async AppConf.loadApp (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\graph\appconf.js:2:1337)
at async AppConf.build (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\graph\appconf.js:2:838)
at async AppGraph.getConf (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\graph\appgraph.js:2:428)
at async SummerCompiler.getConf (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\summer.js:2:3811)
at async process. (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\summer\entry_process.js:1:1557)(env: Windows,mp,1.05.2204250; lib: 2.25.0)