-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Labels
Description
Environment
ubuntu25.04 中文版
Reproduction
null
Describe the bug
I am quite sure this is an issue with Chinese file paths, because I have encountered it before. The solution was to change the path to English, and then the project compiled successfully.
Additional context
No response
Logs
ℹ ✓ 116 modules transformed. 03:01:06
ERROR ✗ Build failed in 898ms 03:01:06
[nuxi 03:01:06] ERROR Nuxt Build Error: [vite:vue] Could not load /home/ogumo/\u6587\u6863/GitHub/fishing-map/pages/index.vue?vue&type=style&index=0&scoped=c48d3806&lang.scss?inline&used: ENOENT: no such file or directory, open '/home/ogumo/\u6587\u6863/GitHub/fishing-map/pages/index.vue'
at Object.readFileSync (node:fs:442:20)
at getDescriptor (/home/ogumo/%E6%96%87%E6%A1%A3/GitHub/fishing-map/node_modules/@vitejs/plugin-vue/dist/index.mjs:114:18)
at Object.load (/home/ogumo/%E6%96%87%E6%A1%A3/GitHub/fishing-map/node_modules/@vitejs/plugin-vue/dist/index.mjs:2990:28)
at Object.handler (/home/ogumo/%E6%96%87%E6%A1%A3/GitHub/fishing-map/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:46484:15)
at /home/ogumo/%E6%96%87%E6%A1%A3/GitHub/fishing-map/node_modules/rollup/dist/es/shared/node-entry.js:22188:40
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async PluginDriver.hookFirstAndGetPlugin (/home/ogumo/%E6%96%87%E6%A1%A3/GitHub/fishing-map/node_modules/rollup/dist/es/shared/node-entry.js:22070:28)
at async /home/ogumo/%E6%96%87%E6%A1%A3/GitHub/fishing-map/node_modules/rollup/dist/es/shared/node-entry.js:21075:33
at async Queue.work (/home/ogumo/%E6%96%87%E6%A1%A3/GitHub/fishing-map/node_modules/rollup/dist/es/shared/node-entry.js:22298:32)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.