- ts+less新建模板下,使用自定义tabbar,控制台总是summer-compiler报错?
ts+less新建模板下,使用自定义tabbar,控制台总是summer-compiler报错。在js+wxss的模板下,可以正常运行。怀疑是ts编译器的bug。 请帮忙看下这个问题如何解决。 [] [summer-compiler] Couldn't found the 'custom-tab-bar/index.json' file relative to 'app.json.json' Error: [summer-compiler] Couldn't found the 'custom-tab-bar/index.json' file relative to 'app.json.json'[图片] 代码链接:https://developers.weixin.qq.com/s/9YM08dmd7RyK
2022-04-02 - 使用官方开发者工具构建TS项目,然后引入直播订阅组件,项目直接报错。
根据文档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/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)
2022-07-18