jackyzha0 / quartz

🌱 a fast, batteries-included static-site generator that transforms Markdown content into fully functional websites
https://quartz.jzhao.xyz
MIT License
6.82k stars 2.47k forks source link

Error: EPERM: operation not permitted #1212

Closed Samuraiflamesf closed 2 months ago

Samuraiflamesf commented 3 months ago

Describe the bug I carried out all the steps and wrote some notes, when I go to start it up it crashes with this error:

Quartz v4.2.3

Backing up your content [v4 2b43fa0] Quartz sync: Jun 17, 2024, 12:40 PM [...] create mode 100644 content/2.Trabalho/index.md create mode 100644 content/Templates/0_head.md create mode 100644 content/Templates/1_notes.md create mode 100644 content/Templates/2_BI.md create mode 100644 content/Templates/3_estudos.md create mode 100644 content/Templates/4_reuniao.md create mode 100644 content/Templates/5_list.md create mode 100644 content/Templates/6_moc.md [Error: EPERM: operation not permitted, rmdir 'C:\Users\bernardo.silva\Documents\Github\quartz\content\0.Arquivos'] { error: -4048, code: 'EPERM', syscall: 'rmdir', path: 'C:\Users\bernardo.silva\Documents\Github\quartz\content\0.Arquivos' }

To Reproduce Steps to reproduce the behavior:

  1. I write the note and copy it to Content.
  2. Run the code "npx quartz sync"
  3. Displays this error

Desktop (please complete the following information):

kremec commented 3 months ago

I also have this issue when running npx quartz sync after adding a first folder inside content folder. When I only had a note inside content folder, it completed just fine, but after a folder is created in it, i get Error: EPERM: operation not permitted, rmdir

Samuraiflamesf commented 3 months ago

Yesyes

jackyzha0 commented 2 months ago

This isn't a Quartz issue, see notes on npm on Windows: https://stackoverflow.com/questions/34600932/npm-eperm-operation-not-permitted-on-windows