content icon indicating copy to clipboard operation
content copied to clipboard

Building a content project generate ProseCode.vue error

Open candidosilva opened this issue 2 years ago • 2 comments

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'

candidosilva avatar Oct 15 '23 12:10 candidosilva

You cannot use a path with spaces like "Área de Trabalho".

In my tests, the path cannot have space, especially if using pnpm

natanfeitosa avatar Oct 28 '23 07:10 natanfeitosa