17:05:35.108 [vite]: Rollup failed to resolve import "/Users/guanfushang/Desktop/MhdApp/src/components/TRTCCloudUniPlugin-TXRemoteViewComponent/index.vue" from "/Users/guanfushang/Desktop/MhdApp/src/TrtcCloud/view/TrtcRemoteView.nvue".
17:05:35.112 This is most likely unintended because it can break your application at runtime.
17:05:35.113 If you do want to externalize this module explicitly add it to
17:05:35.117 build.rollupOptions.external
17:09:22 [vite] [plugin:vite:import-analysis] Failed to resolve import "/Users/guanfushang/Desktop/MhdApp/src/components/TRTCCloudUniPlugin-TXRemoteViewComponent/index.vue" from "src/TrtcCloud/view/TrtcRemoteView.nvue". Does the file exist?
at TrtcCloud/view/TrtcRemoteView.nvue:1:26
1 | import __easycom_0 from '/Users/guanfushang/Desktop/MhdApp/src/components/TRTCCloudUniPlugin-TXRemoteViewComponent/index.vue';import { resolveDynamicComponent as __resolveDynamicComponent } from 'vue';import { resolveEasycom } from '@dcloudio/uni-app';
| ^
2 | const _sfc_main = {
3 | name: 'TrtcRemoteView', (x3)
什么问题呀? 单单 Hbuilder X 创建的vue2模版项目就可以运行。
0 个回复