christianvoigt / argdown

a simple syntax for complex argumentation
https://argdown.org
923 stars 30 forks source link

Error on HTML generation from multiple files #180

Closed kvark closed 4 years ago

kvark commented 4 years ago
[Error: EEXIST: file already exists, copyfile '/usr/local/lib/node_modules/@argdown/cli/node_modules/@argdown/core/dist/plugins/argdown.css' -> '/Users/dmalyshau/Code/webgpu-debate/html/argdown.css'] {
  errno: -17,
  code: 'EEXIST',
  syscall: 'copyfile',
  path: '/usr/local/lib/node_modules/@argdown/cli/node_modules/@argdown/core/dist/plugins/argdown.css',
  dest: '/Users/dmalyshau/Code/webgpu-debate/html/argdown.css'
}

Looks like it's trying to copy the CSS for each argdown file, and then bites its own tail?

kvark commented 4 years ago

See full log in https://github.com/kvark/webgpu-debate/runs/954040535?check_suite_focus=true

christianvoigt commented 4 years ago

Thanks again, we missed this issue completely because we never really used the html export but used highlighted source code instead (like the source view in the web component) as it had the advantage to teach our students the Argdown syntax. Is fixed in v1.5.2, I also changed the html export test to export multiple files.

kvark commented 4 years ago

Thank you for fixing this promptly!