Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load #135

Open
youkei-zzz opened this issue Jan 12, 2024 · 0 comments
Open

Could not load #135

youkei-zzz opened this issue Jan 12, 2024 · 0 comments

Comments

@youkei-zzz
Copy link

When I try to use nuxt build or nuxt generate in nuxt3.9.1, the following error will appear. If I delete the nuxt-icon module in nuxt.config.ts, this will not happen.

`
ERROR [vite:vue] Could not load C:/Users/xxx/\u684C\u9762/myTourSite_nuxt/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.1_rollup@2.79.1_vite@5.0.10_vue@3.4.10/node_modules/nuxt-icon/dist/runtime/IconCSS.vue?vue&type=style&index=0&scoped=e3123322&lang.css?inline&used: ENOENT: no such file or directory, open 'C:\Users\xxx\u684C\u9762\myTourSite_nuxt\node_modules.pnpm\nuxt-icon@0.6.8_nuxt@3.9.1_rollup@2.79.1_vite@5.0.10_vue@3.4.10\node_modules\nuxt-icon\dist\runtime\IconCSS.vue'

[21:38:25] ERROR Nuxt Build Error: Could not load C:/Users/xxx/\u684C\u9762/myTourSite_nuxt/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.1_rollup@2.79.1_vite@5.0.10_vue@3.4.10/node_modules/nuxt-icon/dist/runtime/IconCSS.vue?vue&type=style&index=0&scoped=e3123322&lang.css?inline&used: ENOENT: no such file or directory, open 'C:\Users\xxx\u684C\u9762\xxx\node_modules.pnpm\nuxt-icon@0.6.8_nuxt@3.9.1_rollup@2.79.1_vite@5.0.10_vue@3.4.10\node_modules\nuxt-icon\dist\runtime\IconCSS.vue'

at Object.readFileSync (node:fs:453:20)
at getDescriptor (/C:/Users/xxx/%E6%A1%8C%E9%9D%A2/xxx/node_modules/.pnpm/@vitejs+plugin-vue@5.0.2_vite@5.0.11_vue@3.4.10/node_modules/@vitejs/plugin-vue/dist/index.mjs:103:18)
at Object.load (/C:/Users/xxx/%E6%A1%8C%E9%9D%A2/xxx/node_modules/.pnpm/@vitejs+plugin-vue@5.0.2_vite@5.0.11_vue@3.4.10/node_modules/@vitejs/plugin-vue/dist/index.mjs:2874:28)
at Object.handler (/C:/Users/xxx/%E6%A1%8C%E9%9D%A2/xxx/node_modules/.pnpm/vite@5.0.11/node_modules/vite/dist/node/chunks/dep-V3BH7oO1.js:67398:19)
at /C:/Users/xxx/%E6%A1%8C%E9%9D%A2/xxx/node_modules/.pnpm/rollup@4.9.2/node_modules/rollup/dist/es/shared/node-entry.js:18642:40
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PluginDriver.hookFirstAndGetPlugin (/C:/Users/xxx/%E6%A1%8C%E9%9D%A2/xxx/node_modules/.pnpm/rollup@4.9.2/node_modules/rollup/dist/es/shared/node-entry.js:18542:28)
at async /C:/Users/xxx/%E6%A1%8C%E9%9D%A2/xxx/node_modules/.pnpm/rollup@4.9.2/node_modules/rollup/dist/es/shared/node-entry.js:17712:33
at async Queue.work (/C:/Users/xxx/%E6%A1%8C%E9%9D%A2/xxx/node_modules/.pnpm/rollup@4.9.2/node_modules/rollup/dist/es/shared/node-entry.js:18752:32)
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant