工具版本:1.05.2204180
操作系统: MacOS Big Sur 11.2.3 (20D91)
代码依赖分析] 找到 8 个依赖异常情况,请检查
Couldn't resolve the Js file "app.js" relative to "app.json"
Couldn't resolve the Js file "pages/home/home.js" relative to "pages/home/home.json"
Couldn't resolve the Js file "pages/login/login.js" relative to "pages/login/login.json"
Couldn't resolve the Js file "pages/index/index.js" relative to "pages/index/index.json"
Couldn't resolve the Js file "pages/setup/setup.js" relative to "pages/setup/setup.json"....
我用ts开发 引用了js公共组件 然后编译就提示这个 关键我这个目录只有ts。没有js文件
这个猜测是 "代码依赖分析"功能给输出的,因为项目使用的是ts开发,并不会在开发目录下生成对应的js,这个分析功能发现页面没有对应的js就爆出警告了
现在的问题是,有没有地方可以设置,将这个分析功能关闭呢?
问题已复现,我们会尽快进行修复。
我简直要吐了。你们灰度都没发现吗? 直接就这样发了一版。。。
2024年了。问题又出现了。。。
错误提示:
[ app.json 文件内容错误] miniprogram/app.json: 未找到 ["pages"][3] 对应的 pages/videos/index.js 文件(env: Windows,mp,1.06.2402040; lib: 3.4.0)
以上文件夹是通过app.json自动生成的,同样报错
最新版本还是存在啊