X [ERROR] Two output files share the same path but have different contents: node_modules\.vite\deps_temp_cb676b7c\Vue.js
D:\front\_other\hole\node_modules\esbuild\lib\main.js:1636
let error = new Error(`${text}${summary}`);
^
Error: Build failed with 1 error:
error: Two output files share the same path but have different contents: node_modules\.vite\deps_temp_cb676b7c\Vue.js
at failureErrorWithLog (D:\front\_other\hole\node_modules\esbuild\lib\main.js:1636:15)
at D:\front\_other\hole\node_modules\esbuild\lib\main.js:1048:25
at D:\front\_other\hole\node_modules\esbuild\lib\main.js:1512:9
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
errors: [
{
detail: undefined,
id: '',
location: null,
notes: [],
pluginName: '',
text: 'Two output files share the same path but have different contents: node_modules\\.vite\\deps_temp_cb676b7c\\Vue.js'
}
],
warnings: []
}
找了半天终于找到原因
import { nextTick, provide, ref } from “Vue”
把 “Vue” 改成 “vue” 就可以了文章来源地址https://www.toymoban.com/news/detail-772635.html
文章来源:https://www.toymoban.com/news/detail-772635.html
到了这里,关于X [ERROR] Two output files share the same path but have different contents: node_modules\.vite\deps_的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!