Building a content project generate ProseCode.vue error
Discussed in https://github.com/nuxt/content/discussions/2376
Originally posted by candidosilva October 15, 2023 I created a content project from start using:
npx nuxi@latest init content-app -t content
But when I build the project without changing or adding anything it gives the following error on prompt: It looks like it can't find the ProseCode.vue on node modules, but checked and the file is there.
[08:33:26] ERROR [vite:vue] Could not load C:/Users/candi/OneDrive/\xC1rea de Trabalho/CANDIDO/PROJETOS/content-app/node_modules/@nuxt/content/dist/runtime/components/Prose/ProseCode.vue?vue&type=style&index=0&lang.css?inline&used: ENOENT: no such file or directory, open 'C:/Users/candi/OneDrive/\xC1rea de Trabalho/CANDIDO/PROJETOS/content-app/node_modules/@nuxt/content/dist/runtime/components/Prose/ProseCode.vue'
[08:33:26] ERROR Nuxt Build Error: Could not load C:/Users/candi/OneDrive/\xC1rea de Trabalho/CANDIDO/PROJETOS/content-app/node_modules/@nuxt/content/dist/runtime/components/Prose/ProseCode.vue?vue&type=style&index=0&lang.css?inline&used: ENOENT: no such file or directory, open 'C:/Users/candi/OneDrive/\xC1rea de Trabalho/CANDIDO/PROJETOS/content-app/node_modules/@nuxt/content/dist/runtime/components/Prose/ProseCode.vue'
You cannot use a path with spaces like "Área de Trabalho".
In my tests, the path cannot have space, especially if using pnpm