Skip to content

E702 - Output directory not empty

Cause

The output directory exists and contains files; scrolly refuses to overwrite without explicit confirmation to avoid silently clobbering unrelated files.

Example

$ scrolly build deck.deck.json --out /tmp/out   # /tmp/out has files

How to fix

Pass --force to overwrite the existing contents, or point --out at an empty / fresh directory.