1、起因
首先我在咱们的插件市场,下载了一个zero-timeline,并在页面中使用,查看了一下确实符合easycom规范,

hbuilder也能够在代码视图中查找到他在哪
但是项目运行起来确报错
pages-buyer-feedback.js:289 Cannot find module '@/uni_modules/zero-timeline/components/zero-timeline/zero-timeline.vue'
pages-buyer-feedback.js:290 1. 排查组件名称拼写是否正确
pages-buyer-feedback.js:291 2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
pages-buyer-feedback.js:294 3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
h-builderx为3.99版本
因为报错,我就把h-builder卸载重装,把之前项目下面hbuilder的配置文件都删了,重新搞项目,结果更大的报错来了
2、原来项目中能正常运行的官网的uni-file-picker组件也显示不存在
报错信息
Vue warn]: Unknown custom element: <uni-file-picker> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
---> at pages/buyer/feedback.vue